Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
oberstet@intel-nuci7:~$ ~/cpy392/bin/python3 -m venv ~/cpy392_2
oberstet@intel-nuci7:~$ source ~/cpy392_2/bin/activate
(cpy392_2) oberstet@intel-nuci7:~$ pip install autobahn[all]
Collecting autobahn[all]
Using cached autobahn-21.3.1-py2.py3-none-any.whl (495 kB)
Collecting cryptography>=3.4.6
Using cached cryptography-3.4.6-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB)
Collecting hyperlink>=21.0.0
Using cached hyperlink-21.0.0-py2.py3-none-any.whl (74 kB)
Collecting txaio>=21.2.1
Using cached txaio-21.2.1-py2.py3-none-any.whl (30 kB)
Collecting xbr>=21.2.1; extra == "all"
Using cached xbr-21.2.1-py2.py3-none-any.whl (1.1 MB)
Processing ./.cache/pip/wheels/79/2f/49/db0452bf3ba70e944edfcca45221f758495f41000eb489a0d7/cbor2-5.2.0-cp39-cp39-linux_x86_64.whl
Processing ./.cache/pip/wheels/8e/d7/f5/bf5ef2dd226490de114434815899984aaa37798a0f15974725/wsaccel-0.6.3-cp39-cp39-linux_x86_64.whl
Collecting passlib>=1.7.4; extra == "all"
Using cached passlib-1.7.4-py2.py3-none-any.whl (525 kB)
Collecting cffi>=1.14.5; extra == "all"
Using cached cffi-1.14.5-cp39-cp39-manylinux1_x86_64.whl (406 kB)
Collecting rlp>=2.0.1; extra == "all"
Using cached rlp-2.0.1-py2.py3-none-any.whl (20 kB)
Collecting web3>=5.16.0; extra == "all"
Using cached web3-5.17.0-py3-none-any.whl (469 kB)
Collecting msgpack>=1.0.2; extra == "all"
Using cached msgpack-1.0.2-cp39-cp39-manylinux1_x86_64.whl (294 kB)
Collecting argon2-cffi>=20.1.0; extra == "all"
Using cached argon2_cffi-20.1.0-cp35-abi3-manylinux1_x86_64.whl (97 kB)
Collecting base58>=2.1.0; extra == "all"
Using cached base58-2.1.0-py3-none-any.whl (5.6 kB)
Collecting pynacl>=1.4.0; extra == "all"
Using cached PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB)
Collecting twisted>=20.3.0; extra == "all"
Using cached Twisted-21.2.0-py3-none-any.whl (3.1 MB)
Collecting attrs>=20.3.0; extra == "all"
Using cached attrs-20.3.0-py2.py3-none-any.whl (49 kB)
Collecting mnemonic>=0.19; extra == "all"
Using cached mnemonic-0.19-py2.py3-none-any.whl (61 kB)
Collecting jinja2>=2.11.3; extra == "all"
Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting service-identity>=18.1.0; extra == "all"
Using cached service_identity-18.1.0-py2.py3-none-any.whl (11 kB)
Collecting ujson>=4.0.2; extra == "all"
Using cached ujson-4.0.2-cp39-cp39-manylinux1_x86_64.whl (179 kB)
Collecting python-snappy>=0.6.0; extra == "all"
Using cached python_snappy-0.6.0-cp39-cp39-manylinux2010_x86_64.whl (54 kB)
Collecting ecdsa>=0.16.1; extra == "all"
Using cached ecdsa-0.16.1-py2.py3-none-any.whl (104 kB)
Processing ./.cache/pip/wheels/ef/2a/41/5870cad27097f3b3d7b3d96aa5897d502db08cafba9051bd62/PyTrie-0.4.0-cp39-none-any.whl
Processing ./.cache/pip/wheels/3d/8f/38/625705e37f4264d27cc1b6221cede35b64c391ad20c62fbe28/py_ubjson-0.16.1-cp39-cp39-linux_x86_64.whl
Collecting eth-abi>=2.1.1; extra == "all"
Using cached eth_abi-2.1.1-py3-none-any.whl (27 kB)
Collecting py-multihash>=2.0.1; extra == "all"
Using cached py_multihash-2.0.1-py2.py3-none-any.whl (7.6 kB)
Processing ./.cache/pip/wheels/40/5c/a5/e6d629446a6a687ba328c55f1589234c29b99ef35b1a65dbaa/cbor-1.0.0-cp39-cp39-linux_x86_64.whl
Processing ./.cache/pip/wheels/54/61/2f/a4f51b09473db5737db0f654ed10eb9a4ee01f83a7412de349/PyQRCode-1.2.1-cp39-none-any.whl
Collecting pyopenssl>=20.0.1; extra == "all"
Using cached pyOpenSSL-20.0.1-py2.py3-none-any.whl (54 kB)
Collecting py-ecc>=5.1.0; extra == "all"
Using cached py_ecc-5.2.0-py3-none-any.whl (43 kB)
Collecting flatbuffers>=1.12; extra == "all"
Using cached flatbuffers-1.12-py2.py3-none-any.whl (15 kB)
Collecting py-eth-sig-utils>=0.4.0; extra == "all"
Using cached py_eth_sig_utils-0.4.0-py3-none-any.whl (11 kB)
Collecting zope.interface>=5.2.0; extra == "all"
Using cached zope.interface-5.3.0-cp39-cp39-manylinux2010_x86_64.whl (251 kB)
Collecting zlmdb>=21.2.1; extra == "all"
Using cached zlmdb-21.2.1-py2.py3-none-any.whl (53 kB)
Collecting idna>=2.5
Using cached idna-3.1-py3-none-any.whl (58 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting eth-utils<2,>=1.0.2
Using cached eth_utils-1.10.0-py3-none-any.whl (24 kB)
Collecting protobuf<4,>=3.10.0
Using cached protobuf-3.15.6-cp39-cp39-manylinux1_x86_64.whl (1.0 MB)
Processing ./.cache/pip/wheels/86/3f/f6/6efebdbc72403e91c39f8cc817f61627d065eed97921b8e5b8/lru_dict-1.1.7-cp39-cp39-linux_x86_64.whl
Processing ./.cache/pip/wheels/74/54/40/797b9f77057c12b05b85edbf63465cbe4c24f53d301de1432b/websockets-8.1-cp39-cp39-linux_x86_64.whl
Collecting jsonschema<4.0.0,>=3.2.0
Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Collecting ipfshttpclient==0.7.0a1
Using cached ipfshttpclient-0.7.0a1-py3-none-any.whl (231 kB)
Collecting hexbytes<1.0.0,>=0.1.0
Using cached hexbytes-0.2.1-py3-none-any.whl (6.0 kB)
Collecting eth-account<0.6.0,>=0.5.3
Using cached eth_account-0.5.4-py3-none-any.whl (94 kB)
Collecting requests<3.0.0,>=2.16.0
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting eth-typing<3.0.0,>=2.0.0
Using cached eth_typing-2.2.2-py3-none-any.whl (6.2 kB)
Collecting eth-hash[pycryptodome]<1.0.0,>=0.2.0
Using cached eth_hash-0.3.1-py3-none-any.whl (8.9 kB)
Collecting six
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting Automat>=0.8.0
Using cached Automat-20.2.0-py2.py3-none-any.whl (31 kB)
Collecting constantly>=15.1
Using cached constantly-15.1.0-py2.py3-none-any.whl (7.9 kB)
Collecting incremental>=16.10.1
Using cached incremental-21.3.0-py2.py3-none-any.whl (15 kB)
Collecting MarkupSafe>=0.23
Using cached MarkupSafe-1.1.1-cp39-cp39-manylinux2010_x86_64.whl (32 kB)
Collecting pyasn1
Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting pyasn1-modules
Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting sortedcontainers
Using cached sortedcontainers-2.3.0-py2.py3-none-any.whl (29 kB)
Processing ./.cache/pip/wheels/b7/8d/e7/a0e74217da5caeb3c1c7689639b6d28ddbf9985b840bc96a9a/parsimonious-0.8.1-cp39-none-any.whl
Collecting morphys<2.0,>=1.0
Using cached morphys-1.0-py2.py3-none-any.whl (5.6 kB)
Processing ./.cache/pip/wheels/87/62/fe/15e506bdde650fdd4e63d3eb91a1c3582ff1ee450e88e89d9e/varint-1.0.2-cp39-none-any.whl
Collecting mypy-extensions>=0.4.1
Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting cached-property<2,>=1.5.1
Using cached cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
Collecting pycryptodome>=3.4.7
Using cached pycryptodome-3.10.1-cp35-abi3-manylinux2010_x86_64.whl (1.9 MB)
Requirement already satisfied: setuptools in ./cpy392_2/lib/python3.9/site-packages (from zope.interface>=5.2.0; extra == "all"->autobahn[all]) (49.2.1)
Collecting click>=7.1.2
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting lmdb>=1.1.1
Using cached lmdb-1.1.1-cp39-cp39-manylinux2010_x86_64.whl (306 kB)
Collecting numpy>=1.20.1
Using cached numpy-1.20.1-cp39-cp39-manylinux2010_x86_64.whl (15.4 MB)
Collecting pyyaml>=5.4.1
Using cached PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB)
Processing ./.cache/pip/wheels/44/32/8a/20fd18c5c2980d618d0170f871d5de63729c398569ff8595e0/cytoolz-0.11.0-cp39-cp39-linux_x86_64.whl
Processing ./.cache/pip/wheels/00/cc/12/e712d3979a4aeee423b34a832d97c803e1a67659060315a7e0/pyrsistent-0.17.3-cp39-cp39-linux_x86_64.whl
Collecting multiaddr>=0.0.7
Using cached multiaddr-0.0.9-py2.py3-none-any.whl (16 kB)
Collecting eth-keyfile<0.6.0,>=0.5.0
Using cached eth_keyfile-0.5.1-py3-none-any.whl (8.3 kB)
Collecting eth-keys!=0.3.2,<0.4.0,>=0.2.1
Using cached eth_keys-0.3.3-py3-none-any.whl (20 kB)
Processing ./.cache/pip/wheels/57/7b/51/0f1c269e1532ef20db3a048b53744690a63e972876d438b496/bitarray-1.2.2-cp39-cp39-linux_x86_64.whl
Collecting eth-rlp<2,>=0.1.2
Using cached eth_rlp-0.2.1-py3-none-any.whl (5.0 kB)
Collecting chardet<5,>=3.0.2
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.4-py2.py3-none-any.whl (153 kB)
Collecting toolz>=0.8.0
Using cached toolz-0.11.1-py3-none-any.whl (55 kB)
Collecting netaddr
Using cached netaddr-0.8.0-py2.py3-none-any.whl (1.9 MB)
Installing collected packages: pycparser, cffi, cryptography, idna, hyperlink, txaio, xbr, cbor2, wsaccel, passlib, toolz, cytoolz, eth-typing, pycryptodome, eth-hash, eth-utils, rlp, six, protobuf, lru-dict, websockets, pyrsistent, attrs, jsonschema, chardet, certifi, urllib3, requests, netaddr, base58, varint, multiaddr, ipfshttpclient, hexbytes, eth-keys, eth-keyfile, parsimonious, eth-abi, bitarray, eth-rlp, eth-account, web3, msgpack, argon2-cffi, pynacl, Automat, constantly, incremental, zope.interface, twisted, mnemonic, MarkupSafe, jinja2, pyasn1, pyasn1-modules, service-identity, ujson, python-snappy, ecdsa, sortedcontainers, pytrie, py-ubjson, morphys, py-multihash, cbor, pyqrcode, pyopenssl, mypy-extensions, cached-property, py-ecc, flatbuffers, py-eth-sig-utils, click, lmdb, numpy, pyyaml, zlmdb, autobahn
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
requests 2.25.1 requires idna<3,>=2.5, but you'll have idna 3.1 which is incompatible.
Successfully installed Automat-20.2.0 MarkupSafe-1.1.1 argon2-cffi-20.1.0 attrs-20.3.0 autobahn-21.3.1 base58-2.1.0 bitarray-1.2.2 cached-property-1.5.2 cbor-1.0.0 cbor2-5.2.0 certifi-2020.12.5 cffi-1.14.5 chardet-4.0.0 click-7.1.2 constantly-15.1.0 cryptography-3.4.6 cytoolz-0.11.0 ecdsa-0.16.1 eth-abi-2.1.1 eth-account-0.5.4 eth-hash-0.3.1 eth-keyfile-0.5.1 eth-keys-0.3.3 eth-rlp-0.2.1 eth-typing-2.2.2 eth-utils-1.10.0 flatbuffers-1.12 hexbytes-0.2.1 hyperlink-21.0.0 idna-3.1 incremental-21.3.0 ipfshttpclient-0.7.0a1 jinja2-2.11.3 jsonschema-3.2.0 lmdb-1.1.1 lru-dict-1.1.7 mnemonic-0.19 morphys-1.0 msgpack-1.0.2 multiaddr-0.0.9 mypy-extensions-0.4.3 netaddr-0.8.0 numpy-1.20.1 parsimonious-0.8.1 passlib-1.7.4 protobuf-3.15.6 py-ecc-5.2.0 py-eth-sig-utils-0.4.0 py-multihash-2.0.1 py-ubjson-0.16.1 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycparser-2.20 pycryptodome-3.10.1 pynacl-1.4.0 pyopenssl-20.0.1 pyqrcode-1.2.1 pyrsistent-0.17.3 python-snappy-0.6.0 pytrie-0.4.0 pyyaml-5.4.1 requests-2.25.1 rlp-2.0.1 service-identity-18.1.0 six-1.15.0 sortedcontainers-2.3.0 toolz-0.11.1 twisted-21.2.0 txaio-21.2.1 ujson-4.0.2 urllib3-1.26.4 varint-1.0.2 web3-5.17.0 websockets-8.1 wsaccel-0.6.3 xbr-21.2.1 zlmdb-21.2.1 zope.interface-5.3.0
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the '/home/oberstet/cpy392_2/bin/python3 -m pip install --upgrade pip' command.
(cpy392_2) oberstet@intel-nuci7:~$ xbrnetwork register-member \
> --url ws://thingcloud-box-aws.sthngs.crossbario.com:8090/ws \
> --username=oberstet2 \
> --email=tobias.ober.stein@gmail.com
created new local user directory /home/oberstet/.xbrnetwork
creating new user profile "default"
enter the WAMP router URL of the network directory node [ws://thingcloud-box-aws.sthngs.crossbario.com:8090/ws]:
enter the WAMP realm to join on the network directory node [xbrnetwork]:
your private WAMP client key [0x7c3ee98033eac2106254362a1b9c87a830756113c07a7103cfe890f72894b9a9]:
your private Etherum key [0x2b8a1044acf259c637767464efad9f73b848614c1c688831693a4a01dd4fed10]:
user email used for with profile [tobias.ober.stein@gmail.com]:
user name used with this profile [oberstet2]:
created new local user configuration /home/oberstet/.xbrnetwork/config.ini
2021-03-23T20:40:13+0100 XBR CLI v21.3.1
2021-03-23T20:40:13+0100 Profile default loaded from /home/oberstet/.xbrnetwork/config.ini
2021-03-23T20:40:13+0100 Connecting to "ws://thingcloud-box-aws.sthngs.crossbario.com:8090/ws" at realm "xbrnetwork" ..
2021-03-23T20:40:13+0100 Client Ethereum key loaded, public address is 0xf2fe11E1e80bF448bB8A66d4A4Ab9e296B859cbC
2021-03-23T20:40:13+0100 Client WAMP authentication key loaded, public key is 0x81d6b495c0fa751f3ee9ec1fa37c71ea163b5eb800ca013c601a235a110e69b7
2021-03-23T20:40:13+0100 Client connected, now joining realm "xbrnetwork" with WAMP-cryptosign authentication ..
2021-03-23T20:40:13+0100 Ok, client joined on realm "xbrnetwork" [session=8998519532426885, authid="anonymous-QJ4G-UT46-CYAH-UPHX-9PKW-A4R7", authrole="anonymous"]
2021-03-23T20:40:13+0100 not yet a member in the XBR network
2021-03-23T20:40:14+0100 On-boarding member - verification "02bd637f-cc7a-4ed4-bab5-5dfd3f9ca091" created
2021-03-23T20:40:14+0100 Client left realm (reason="wamp.close.normal")
2021-03-23T20:40:14+0100 Client disconnected
2021-03-23T20:40:14+0100 Main loop terminated.
(cpy392_2) oberstet@intel-nuci7:~$ xbrnetwork register-member-verify --vaction=02bd637f-cc7a-4ed4-bab5-5dfd3f9ca091 --vcode=4JEJ-EHH3-6ETW
2021-03-23T20:41:53+0100 XBR CLI v21.3.1
2021-03-23T20:41:53+0100 Profile default loaded from /home/oberstet/.xbrnetwork/config.ini
2021-03-23T20:41:53+0100 Connecting to "ws://thingcloud-box-aws.sthngs.crossbario.com:8090/ws" at realm "xbrnetwork" ..
2021-03-23T20:41:53+0100 Client Ethereum key loaded, public address is 0xf2fe11E1e80bF448bB8A66d4A4Ab9e296B859cbC
2021-03-23T20:41:53+0100 Client WAMP authentication key loaded, public key is 0x81d6b495c0fa751f3ee9ec1fa37c71ea163b5eb800ca013c601a235a110e69b7
2021-03-23T20:41:53+0100 Client connected, now joining realm "xbrnetwork" with WAMP-cryptosign authentication ..
2021-03-23T20:41:53+0100 Ok, client joined on realm "xbrnetwork" [session=811261430395445, authid="anonymous-RTHP-PHFP-VREP-KJV9-S4WM-3MPK", authrole="anonymous"]
2021-03-23T20:41:53+0100 not yet a member in the XBR network
2021-03-23T20:41:53+0100 Verifying member using vaction_oid=02bd637f-cc7a-4ed4-bab5-5dfd3f9ca091, vaction_code=4JEJ-EHH3-6ETW ..
2021-03-23T20:41:54+0100 SUCCESS! New XBR Member onboarded: member_oid=04caa3d3-6316-4f68-a376-431592301d6a, transaction=0x54649b659fd9f3959df6374daf8cb97f4dad84a94c61df1d3c416835ee01d724
2021-03-23T20:41:54+0100 Client left realm (reason="wamp.close.normal")
2021-03-23T20:41:54+0100 Client disconnected
2021-03-23T20:41:54+0100 Main loop terminated.
(cpy392_2) oberstet@intel-nuci7:~$ xbrnetwork get-member
2021-03-23T20:42:27+0100 XBR CLI v21.3.1
2021-03-23T20:42:27+0100 Profile default loaded from /home/oberstet/.xbrnetwork/config.ini
2021-03-23T20:42:27+0100 Connecting to "ws://thingcloud-box-aws.sthngs.crossbario.com:8090/ws" at realm "xbrnetwork" ..
2021-03-23T20:42:27+0100 Client Ethereum key loaded, public address is 0xf2fe11E1e80bF448bB8A66d4A4Ab9e296B859cbC
2021-03-23T20:42:27+0100 Client WAMP authentication key loaded, public key is 0x81d6b495c0fa751f3ee9ec1fa37c71ea163b5eb800ca013c601a235a110e69b7
2021-03-23T20:42:27+0100 Client connected, now joining realm "xbrnetwork" with WAMP-cryptosign authentication ..
2021-03-23T20:42:27+0100 Ok, client joined on realm "xbrnetwork" [session=4801835365357667, authid="member-04caa3d3-6316-4f68-a376-431592301d6a", authrole="member"]
2021-03-23T20:42:27+0100 Member 04caa3d3-6316-4f68-a376-431592301d6a found for address 0x0xf2fe11E1e80bF448bB8A66d4A4Ab9e296B859cbC - current member level ACTIVE
2021-03-23T20:42:27+0100 Client left realm (reason="wamp.close.normal")
2021-03-23T20:42:27+0100 Client disconnected
2021-03-23T20:42:27+0100 Main loop terminated.
(cpy392_2) oberstet@intel-nuci7:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment