Enigma Setup loading

i completely follow all the step in this link “https://blog.enigma.co/getting-started-with-the-enigma-protocol-a-complete-developers-guide-170b7dfa5c0f”, but it still give me Enigma setup is still loading.why?

Hey @Fahad can you give us more information about what step you’re getting stuck loading at?
Thank you!

When i run ./launch.bash -s -t it give this error
Waiting for containers to start…
Starting 520c99fe9447_520c99fe9447_520c99fe9447_enigma_contract_1 …
Starting 7f6919260127_7f6919260127_7f6919260127_enigma_core_1 … error
and also this error

Waiting for contract to be available…
./launch.bash: line 48: xterm: command not found

i install docker and docker compose and run.
i also give path to docker in envirnoment variable

i restart docker first problem
Waiting for containers to start…
Starting 520c99fe9447_520c99fe9447_520c99fe9447_enigma_contract_1 …
Starting 7f6919260127_7f6919260127_7f6919260127_enigma_core_1 … done
it did not give error but it stuck here
Waiting for contract to be available…
./launch.bash: line 49: xterm: command not found

Hi @Fahad, looks like you may not have xterm properly installed. Could you double check that you completed step 4 of the developer’s guide where you install xterm?? Be sure to restart your computer once you’ve installed it, otherwise the installation won’t complete properly. Let us know if that solves it. Thanks!

hi @adi i am not following the step 4 of xterm installation but now my MillionairesProblem working perfectly although in my bash cmd it give (xterm: command not found)
but enigma setup has successfully loaded and contract deploy successfully it means xterm is not necessary?

when i run ./launch.bash -s -t on Ubuntu it work perfectly but when i run on window it now give me error
the input device is not a TTY. If you are using mintty, try prefixing the command with ‘winpty’.although one day before it also work perfectly on window.

Deploying contracts on testnet…
the input device is not a TTY. If you are using mintty, try prefixing the command with ‘winpty’
the input device is not a TTY. If you are using mintty, try prefixing the command with ‘winpty’
enigma_core_1 exited with code 137
enigma_contract_1 exited with code 137
Error response from daemon: Container 7838b551c847bfbf1f0668a8c03eb1eb7bb2951d9d479367f529f64ff004aa0a is not running
Starting Surface…
Ready to launch your app.
./launch.bash: line 89: xterm: command not found

Recreating enigma_contract_1 … done
Recreating enigma_core_1 … done
Recreating enigma_surface_1 …
core_1 | aesm_service[8]: SGX Service unavailable
core_1 | aesm_service[8]: Fail to start service.
core_1 | cd app && SGX_SDK=/opt/sgxsdk cargo build --release
^C

Fahad Aziz@DESKTOP-98SAPE4 MINGW64 /e/Enigma/enigma-docker-network (master)
core_1 | Compiling enigma-core-app v0.1.3 (file:///root/enigma-core/enigma-core/app) core_1 | Finished release [optimized] target(s) in 7.97 secs core_1 | Cargo => bin/app core_1 | mkdir -p ./bin core_1 | cp ./app/target/release/enigma-core-app ./bin/enigma-core-app core_1 | make -C ./enclave/ core_1 | make[1]: Entering directory '/root/enigma-core/enigma-core/enclave' core_1 | cargo build --release enigma_surface_1 exited with code 137 Recreating enigma_surface_1 ... done Attaching to enigma_contract_1, enigma_core_1, enigma_surface_1 contract_1 | /bin/bash: /home/node/wrapper.bash: /bin/bash^M: bad interpreter: No such file or directory core_1 | aesm_service[8]: SGX Service unavailable core_1 | aesm_service[8]: Fail to start service. core_1 | cd app && SGX_SDK=/opt/sgxsdk cargo build --release core_1 | Compiling enigma-core-app v0.1.3 (file:///root/enigma-core/enigma-core/app) core_1 | Finished release [optimized] target(s) in 7.97 secs core_1 | Cargo => bin/app core_1 | mkdir -p ./bin core_1 | cp ./app/target/release/enigma-core-app ./bin/enigma-core-app core_1 | make -C ./enclave/ core_1 | make[1]: Entering directory '/root/enigma-core/enigma-core/enclave' core_1 | cargo build --release core_1 | Compiling enigma-core-enclave v0.1.3 (file:///root/enigma-core/enigma-core/enclave) surface_1 | bash: ./docker_config.bash: /bin/bash^M: bad interpreter: No such file or directory surface_1 | bash: ./docker_config.bash: /bin/bash^M: bad interpreter: No such file or directory core_1 | Finished release [optimized] target(s) in 16.35 secs core_1 | Finished release [optimized] target(s) in 16.35 secs core_1 | cp ./target/release/libenigmacoreenclave.a ../lib/libenclave.a core_1 | cp ./target/release/libenigmacoreenclave.a ../lib/libenclave.a core_1 | make[1]: Leaving directory '/root/enigma-core/enigma-core/enclave' core_1 | make[1]: Leaving directory '/root/enigma-core/enigma-core/enclave' core_1 | make -C /root/sgx/compiler-rt/ 2> /dev/null core_1 | make -C /root/sgx/compiler-rt/ 2> /dev/null core_1 | make[1]: Entering directory '/root/sgx/compiler-rt' core_1 | make[1]: Entering directory '/root/sgx/compiler-rt' core_1 | make[1]: Nothing to be done for 'all'. core_1 | make[1]: Leaving directory '/root/sgx/compiler-rt' core_1 | make[1]: Nothing to be done for 'all'. core_1 | make[1]: Leaving directory '/root/sgx/compiler-rt' core_1 | cp /root/sgx/compiler-rt/libcompiler-rt-patch.a ./lib core_1 | cp /root/sgx/compiler-rt/libcompiler-rt-patch.a ./lib core_1 | LINK => enclave/enclave.so core_1 | LINK => enclave/enclave.so core_1 | <!-- Please refer to User's Guide for the explanation of each field --> core_1 | <EnclaveConfiguration> core_1 | <ProdID>0</ProdID> core_1 | <ISVSVN>0</ISVSVN> core_1 | <StackMaxSize>0x40000</StackMaxSize> core_1 | <HeapMaxSize>0x100000</HeapMaxSize> core_1 | <TCSNum>1</TCSNum> core_1 | <!-- Please refer to User's Guide for the explanation of each field --> core_1 | <EnclaveConfiguration> core_1 | <ProdID>0</ProdID> core_1 | <ISVSVN>0</ISVSVN> core_1 | <StackMaxSize>0x40000</StackMaxSize> core_1 | <HeapMaxSize>0x100000</HeapMaxSize> core_1 | <TCSNum>1</TCSNum> core_1 | <TCSPolicy>1</TCSPolicy> core_1 | <TCSPolicy>1</TCSPolicy> core_1 | <DisableDebug>0</DisableDebug> core_1 | <MiscSelect>0</MiscSelect> core_1 | <MiscMask>0xFFFFFFFF</MiscMask> core_1 | </EnclaveConfiguration> core_1 | tcs_num 1, tcs_max_num 1, tcs_min_pool 1 core_1 | <DisableDebug>0</DisableDebug> core_1 | <MiscSelect>0</MiscSelect> core_1 | <MiscMask>0xFFFFFFFF</MiscMask> core_1 | </EnclaveConfiguration> core_1 | tcs_num 1, tcs_max_num 1, tcs_min_pool 1 core_1 | The required memory is 3502080B. core_1 | The required memory is 3502080B. core_1 | Succeed. core_1 | Succeed. core_1 | SIGN => bin/enclave.signed.so core_1 | [+] Home dir is /root core_1 | [+] Home dir is /root core_1 | [+] Created new .enigma folder => "/root/.enigma" core_1 | [-] Open token file /root/.enigma/enclave.token error! Will create one. core_1 | SIGN => bin/enclave.signed.so core_1 | [+] Home dir is /root core_1 | [+] Home dir is /root core_1 | [+] Created new .enigma folder => "/root/.enigma" core_1 | [-] Open token file /root/.enigma/enclave.token error! Will create one. core_1 | [+] Saved updated launch token! core_1 | [+] Init Enclave Successful 519691042818! core_1 | [+] Server awaiting connection... core_1 | [+] Saved updated launch token! core_1 | [+] Init Enclave Successful 519691042818! core_1 | [+] Server awaiting connection... contract_1 | node@d3f78a11cdf8:~ contract_1 | node@d3f78a11cdf8:~$ enigma_core_1 exited with code 137
enigma_core_1 exited with code 137
enigma_contract_1 exited with code 137
enigma_contract_1 exited with code 137
core_1 | aesm_service[8]: SGX Service unavailable
core_1 | aesm_service[8]: Fail to start service.
core_1 | cd app && SGX_SDK=/opt/sgxsdk cargo build --release
core_1 | aesm_service[8]: SGX Service unavailable
core_1 | aesm_service[8]: Fail to start service.
core_1 | cd app && SGX_SDK=/opt/sgxsdk cargo build --release
contract_1 | My IP address is 172.18.0.3
contract_1 | My IP address is 172.18.0.3
core_1 | Compiling enigma-core-app v0.1.3 (file:///root/enigma-core/enigma-core/app)
core_1 | Compiling enigma-core-app v0.1.3 (file:///root/enigma-core/enigma-core/app)
contract_1 | Ganache CLI v6.1.8 (ganache-core: 2.2.1)
contract_1 | Ganache CLI v6.1.8 (ganache-core: 2.2.1)
contract_1 |
contract_1 |
contract_1 | Available Accounts
contract_1 | Available Accounts
contract_1 | ==================
contract_1 | ==================
contract_1 | (0) 0x684d128f9cb3d9c85be58cfd0fbafd7bb47da23e (~100 ETH)
contract_1 | (0) 0x684d128f9cb3d9c85be58cfd0fbafd7bb47da23e (~100 ETH)
contract_1 | (1) 0x6106215efb93b48f9040beb73c1c667d645c0880 (~100 ETH)
contract_1 | (2) 0x61971376e5313de449765331c86db3269e79216d (~100 ETH)
contract_1 | (3) 0x62bd21ae33ec1614a5b57e4256d1a0e1a166528f (~100 ETH)
contract_1 | (4) 0x7a86a4143815b8babf72cc9c8a88f606d60127c2 (~100 ETH)
contract_1 | (5) 0x9dd10a80e2fb6c21c22596d79be69fbcd52f78b1 (~100 ETH)
contract_1 | (1) 0x6106215efb93b48f9040beb73c1c667d645c0880 (~100 ETH)
contract_1 | (2) 0x61971376e5313de449765331c86db3269e79216d (~100 ETH)
contract_1 | (3) 0x62bd21ae33ec1614a5b57e4256d1a0e1a166528f (~100 ETH)
contract_1 | (4) 0x7a86a4143815b8babf72cc9c8a88f606d60127c2 (~100 ETH)
contract_1 | (5) 0x9dd10a80e2fb6c21c22596d79be69fbcd52f78b1 (~100 ETH)
contract_1 | (6) 0x1ca03d25676757bdc137a6035e4d446e9fb86696 (~100 ETH)
contract_1 | (7) 0xb06f941396519dfe6caf5801ad16f92b735aa723 (~100 ETH)
contract_1 | (8) 0x6216e5dbaa3f2a6d6f4b0dee1abfa06dbd1ba084 (~100 ETH)
contract_1 | (6) 0x1ca03d25676757bdc137a6035e4d446e9fb86696 (~100 ETH)
contract_1 | (7) 0xb06f941396519dfe6caf5801ad16f92b735aa723 (~100 ETH)
contract_1 | (9) 0xfc95cd36ad6808aec9b0e6ff784d36262e5b89d5 (~100 ETH)
contract_1 | (8) 0x6216e5dbaa3f2a6d6f4b0dee1abfa06dbd1ba084 (~100 ETH)
contract_1 |
contract_1 | Private Keys
contract_1 | ==================
contract_1 | (0) 0x881d8ca2d3746218ac6246159b03e8ce54b4da95aec144cd557ad582b046fa2e
contract_1 | (1) 0xca117bf7df19b4334b5b8e6a846f8a2e412ee174dfb7a69e0cb57ec4b05ef002
contract_1 | (2) 0xd63125b46694f56a8eb4d7f39cb479cbaed0b1b10ebef1a4834ad316998906e9
contract_1 | (3) 0x8ee399a1bc16bebee091c940f6796868db8026f9012e09e57bb5b4af6fb2f780
contract_1 | (4) 0x6c14bd64ba38e21a34109dc742889991f0c0e3ba29f5fe1d75787b7ba7f13e67
contract_1 | (5) 0xdca745f2e186a4d24aa05a6a592f0661229f4607aceadea872cebaf08b15a350
contract_1 | (6) 0xab03012818baa3c1ef328ef667a6a30a0a326ca3862aa23c834aad3c0f55c35f
contract_1 | (7) 0x8e20ead35a213ff8293e5ab8196c0c89b995f1dadd9633a7eb0925b59dc9188b
contract_1 | (8) 0x7302517add90f505803bf5452e91217e8e9d7d53429fd1f06e2a0861b2515da1
contract_1 | (9) 0x518cb2359b44e13951fd83eb50061be19f93666c26b95bb6ab7b6f0d06f53058
contract_1 |
contract_1 | HD Wallet
contract_1 | ==================
contract_1 | Mnemonic: gasp radar denial treat wash stem host primary buzz iron hawk crisp
contract_1 | Base HD Path: m/44’/60’/0’/0/{account_index}
contract_1 |
contract_1 | Gas Price
contract_1 | ==================
contract_1 | 20000000000
contract_1 |
contract_1 | Gas Limit
contract_1 | ==================
contract_1 | 6721975
contract_1 |
contract_1 | Listening on 172.18.0.3:8545
contract_1 | (9) 0xfc95cd36ad6808aec9b0e6ff784d36262e5b89d5 (~100 ETH)
contract_1 |
contract_1 | Private Keys
contract_1 | ==================
contract_1 | (0) 0x881d8ca2d3746218ac6246159b03e8ce54b4da95aec144cd557ad582b046fa2e
contract_1 | (1) 0xca117bf7df19b4334b5b8e6a846f8a2e412ee174dfb7a69e0cb57ec4b05ef002
contract_1 | (2) 0xd63125b46694f56a8eb4d7f39cb479cbaed0b1b10ebef1a4834ad316998906e9
contract_1 | (3) 0x8ee399a1bc16bebee091c940f6796868db8026f9012e09e57bb5b4af6fb2f780
contract_1 | (4) 0x6c14bd64ba38e21a34109dc742889991f0c0e3ba29f5fe1d75787b7ba7f13e67
contract_1 | (5) 0xdca745f2e186a4d24aa05a6a592f0661229f4607aceadea872cebaf08b15a350
contract_1 | (6) 0xab03012818baa3c1ef328ef667a6a30a0a326ca3862aa23c834aad3c0f55c35f
contract_1 | (7) 0x8e20ead35a213ff8293e5ab8196c0c89b995f1dadd9633a7eb0925b59dc9188b
contract_1 | (8) 0x7302517add90f505803bf5452e91217e8e9d7d53429fd1f06e2a0861b2515da1
contract_1 | (9) 0x518cb2359b44e13951fd83eb50061be19f93666c26b95bb6ab7b6f0d06f53058
contract_1 |
contract_1 | HD Wallet
contract_1 | ==================
contract_1 | Mnemonic: gasp radar denial treat wash stem host primary buzz iron hawk crisp
contract_1 | Base HD Path: m/44’/60’/0’/0/{account_index}
contract_1 |
contract_1 | Gas Price
contract_1 | ==================
contract_1 | 20000000000
contract_1 |
contract_1 | Gas Limit
contract_1 | ==================
contract_1 | 6721975
contract_1 |
contract_1 | Listening on 172.18.0.3:8545
core_1 | Finished release [optimized] target(s) in 8.78 secs
core_1 | Finished release [optimized] target(s) in 8.78 secs
core_1 | Cargo => bin/app
core_1 | Cargo => bin/app
core_1 | mkdir -p ./bin
core_1 | mkdir -p ./bin
core_1 | cp ./app/target/release/enigma-core-app ./bin/enigma-core-app
core_1 | cp ./app/target/release/enigma-core-app ./bin/enigma-core-app
core_1 | make -C ./enclave/
core_1 | make -C ./enclave/
core_1 | make[1]: Entering directory ‘/root/enigma-core/enigma-core/enclave’
core_1 | cargo build --release
core_1 | make[1]: Entering directory ‘/root/enigma-core/enigma-core/enclave’
core_1 | cargo build --release
core_1 | Compiling enigma-core-enclave v0.1.3 (file:///root/enigma-core/enigma-core/enclave)
core_1 | Compiling enigma-core-enclave v0.1.3 (file:///root/enigma-core/enigma-core/enclave)
surface_1 | root@enigma_surface_1:~# enigma_surface_1 exited with code 137
enigma_surface_1 exited with code 137
surface_1 | bash: ./docker_config.bash: Is a directory
surface_1 | bash: ./docker_config.bash: Is a directory
core_1 | Finished release [optimized] target(s) in 18.97 secs
core_1 | cp ./target/release/libenigmacoreenclave.a …/lib/libenclave.a
core_1 | Finished release [optimized] target(s) in 18.97 secs
core_1 | cp ./target/release/libenigmacoreenclave.a …/lib/libenclave.a
core_1 | make[1]: Leaving directory ‘/root/enigma-core/enigma-core/enclave’
core_1 | make[1]: Leaving directory ‘/root/enigma-core/enigma-core/enclave’
core_1 | make -C /root/sgx/compiler-rt/ 2> /dev/null
core_1 | make -C /root/sgx/compiler-rt/ 2> /dev/null
core_1 | make[1]: Entering directory ‘/root/sgx/compiler-rt’
core_1 | make[1]: Entering directory ‘/root/sgx/compiler-rt’
core_1 | make[1]: Nothing to be done for ‘all’.
core_1 | make[1]: Nothing to be done for ‘all’.
core_1 | make[1]: Leaving directory ‘/root/sgx/compiler-rt’
core_1 | cp /root/sgx/compiler-rt/libcompiler-rt-patch.a ./lib
core_1 | make[1]: Leaving directory ‘/root/sgx/compiler-rt’
core_1 | cp /root/sgx/compiler-rt/libcompiler-rt-patch.a ./lib
core_1 | LINK => enclave/enclave.so
core_1 | LINK => enclave/enclave.so
core_1 |
core_1 |
core_1 | 0
core_1 | 0
core_1 | 0x40000
core_1 | 0x100000
core_1 | 1
core_1 | 1
core_1 | 0
core_1 | 0
core_1 | 0xFFFFFFFF
core_1 |
core_1 | tcs_num 1, tcs_max_num 1, tcs_min_pool 1
core_1 |
core_1 |
core_1 | 0
core_1 | 0
core_1 | 0x40000
core_1 | 0x100000
core_1 | 1
core_1 | 1
core_1 | 0
core_1 | 0
core_1 | 0xFFFFFFFF
core_1 |
core_1 | tcs_num 1, tcs_max_num 1, tcs_min_pool 1
core_1 | The required memory is 3502080B.
core_1 | The required memory is 3502080B.
core_1 | Succeed.
core_1 | Succeed.
core_1 | SIGN => bin/enclave.signed.so
core_1 | SIGN => bin/enclave.signed.so
core_1 | [+] Home dir is /root
core_1 | [+] Home dir is /root
core_1 | [+] Home dir is /root
core_1 | [+] Home dir is /root
core_1 | [+] Created new .enigma folder => “/root/.enigma”
core_1 | [+] Created new .enigma folder => “/root/.enigma”
core_1 | [-] Open token file /root/.enigma/enclave.token error! Will create one.
core_1 | [+] Saved updated launch token!
core_1 | [+] Init Enclave Successful 519691042818!
core_1 | [-] Open token file /root/.enigma/enclave.token error! Will create one.
core_1 | [+] Saved updated launch token!
core_1 | [+] Init Enclave Successful 519691042818!
core_1 | [+] Server awaiting connection…
core_1 | [+] Server awaiting connection…
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_accounts
contract_1 | eth_accounts
contract_1 | eth_accounts
contract_1 | eth_accounts
contract_1 | eth_getBlockByNumber
contract_1 | eth_getBlockByNumber
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_getBlockByNumber
contract_1 | eth_getBlockByNumber
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_sendTransaction
contract_1 | eth_sendTransaction
contract_1 |
contract_1 | Transaction: 0x359b5a1562308fd9fdb14eb154c98ed0a90a45a73d9eca2b4f8e430b68d0bf6c
contract_1 |
contract_1 | Transaction: 0x359b5a1562308fd9fdb14eb154c98ed0a90a45a73d9eca2b4f8e430b68d0bf6c
contract_1 | Contract created: 0x0165af3b7d40cef7ef71effb45cd131d48cad9c2
contract_1 | Contract created: 0x0165af3b7d40cef7ef71effb45cd131d48cad9c2
contract_1 | Gas usage: 224195
contract_1 | Gas usage: 224195
contract_1 | Block Number: 1
contract_1 | Block Number: 1
contract_1 | Block Time: Tue Sep 25 2018 06:19:19 GMT+0000 (Coordinated Universal Time)
contract_1 |
contract_1 | eth_getTransactionReceipt
contract_1 | Block Time: Tue Sep 25 2018 06:19:19 GMT+0000 (Coordinated Universal Time)
contract_1 |
contract_1 | eth_getTransactionReceipt
contract_1 | eth_getCode
contract_1 | eth_getCode
contract_1 | eth_accounts
contract_1 | eth_accounts
contract_1 | eth_getBlockByNumber
contract_1 | eth_getBlockByNumber
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_getBlockByNumber
contract_1 | eth_getBlockByNumber
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_sendTransaction
contract_1 | eth_sendTransaction
contract_1 |
contract_1 | Transaction: 0xdf96036cce862356c6973fd92bbdeb2831b558e5adb2396bdff7d03085d237a4
contract_1 | Contract created: 0x956466dd256b8ee281af23d58c877093acdbe38a
contract_1 |
contract_1 | Gas usage: 674740
contract_1 | Block Number: 2
contract_1 | Block Time: Tue Sep 25 2018 06:19:19 GMT+0000 (Coordinated Universal Time)
contract_1 |
contract_1 | eth_getTransactionReceipt
contract_1 | Transaction: 0xdf96036cce862356c6973fd92bbdeb2831b558e5adb2396bdff7d03085d237a4
contract_1 | Contract created: 0x956466dd256b8ee281af23d58c877093acdbe38a
contract_1 | Gas usage: 674740
contract_1 | Block Number: 2
contract_1 | Block Time: Tue Sep 25 2018 06:19:19 GMT+0000 (Coordinated Universal Time)
contract_1 |
contract_1 | eth_getTransactionReceipt
contract_1 | eth_getCode
contract_1 | eth_getCode
contract_1 | eth_accounts
contract_1 | eth_getBlockByNumber
contract_1 | eth_accounts
contract_1 | eth_getBlockByNumber
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_getBlockByNumber
contract_1 | eth_getBlockByNumber
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_sendTransaction
contract_1 | eth_sendTransaction
contract_1 |
contract_1 |
contract_1 | Transaction: 0x0e948f6e95d5dcd97700759b7f4ebe8b6786ba68ddc71dbbfc57ddff0a172164
contract_1 | Contract created: 0xcaa9e52cf72d23ee04807ac2c3eb57a6bbb2a602
contract_1 | Gas usage: 3095035
contract_1 | Block Number: 3
contract_1 | Transaction: 0x0e948f6e95d5dcd97700759b7f4ebe8b6786ba68ddc71dbbfc57ddff0a172164
contract_1 | Contract created: 0xcaa9e52cf72d23ee04807ac2c3eb57a6bbb2a602
contract_1 | Gas usage: 3095035
contract_1 | Block Number: 3
contract_1 | Block Time: Tue Sep 25 2018 06:19:20 GMT+0000 (Coordinated Universal Time)
contract_1 | Block Time: Tue Sep 25 2018 06:19:20 GMT+0000 (Coordinated Universal Time)
contract_1 |
contract_1 |
contract_1 | eth_getTransactionReceipt
contract_1 | eth_getTransactionReceipt
contract_1 | eth_getCode
contract_1 | eth_getCode
contract_1 | eth_accounts
contract_1 | eth_accounts
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_getCode
contract_1 | eth_getCode
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_getCode
contract_1 | eth_getCode
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_sendTransaction
contract_1 | eth_sendTransaction
contract_1 |
contract_1 |
contract_1 | Transaction: 0x64400d0dcfb60d3d429a9ed43d6185208deec8530f6927112fa806c18bc80ed6
contract_1 | Gas usage: 1964801
contract_1 | Block Number: 4
contract_1 | Block Time: Tue Sep 25 2018 06:20:38 GMT+0000 (Coordinated Universal Time)
contract_1 |
contract_1 | eth_getTransactionReceipt
contract_1 | Transaction: 0x64400d0dcfb60d3d429a9ed43d6185208deec8530f6927112fa806c18bc80ed6
contract_1 | Gas usage: 1964801
contract_1 | Block Number: 4
contract_1 | Block Time: Tue Sep 25 2018 06:20:38 GMT+0000 (Coordinated Universal Time)
contract_1 |
contract_1 | eth_getTransactionReceipt
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_sendTransaction
contract_1 | eth_sendTransaction
contract_1 |
contract_1 |
contract_1 | Transaction: 0xd1f6ec58d1c716e5e78f04ab24de6bdf660a380b1a2d7da912fee78fe1841582
contract_1 | Gas usage: 141492
contract_1 | Block Number: 5
contract_1 | Block Time: Tue Sep 25 2018 06:20:38 GMT+0000 (Coordinated Universal Time)
contract_1 |
contract_1 | eth_getTransactionReceipt
contract_1 | net_version
contract_1 | Transaction: 0xd1f6ec58d1c716e5e78f04ab24de6bdf660a380b1a2d7da912fee78fe1841582
contract_1 | Gas usage: 141492
contract_1 | Block Number: 5
contract_1 | Block Time: Tue Sep 25 2018 06:20:38 GMT+0000 (Coordinated Universal Time)
contract_1 |
contract_1 | eth_getTransactionReceipt
contract_1 | net_version
contract_1 | eth_accounts
contract_1 | eth_accounts
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_getCode
contract_1 | eth_getCode
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_getCode
contract_1 | eth_getCode
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_sendTransaction
contract_1 | eth_sendTransaction
contract_1 |
contract_1 |
contract_1 | Transaction: 0xedaf8367b5ca69d948f1170b004d92d2ec5fa2bed6ecbb3950ae58c1705faa7f
contract_1 | Gas usage: 648615
contract_1 | Block Number: 6
contract_1 | Transaction: 0xedaf8367b5ca69d948f1170b004d92d2ec5fa2bed6ecbb3950ae58c1705faa7f
contract_1 | Gas usage: 648615
contract_1 | Block Number: 6
contract_1 | Block Time: Tue Sep 25 2018 06:21:42 GMT+0000 (Coordinated Universal Time)
contract_1 |
contract_1 | eth_getTransactionReceipt
contract_1 | Block Time: Tue Sep 25 2018 06:21:42 GMT+0000 (Coordinated Universal Time)
contract_1 |
contract_1 | eth_getTransactionReceipt
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_sendTransaction
contract_1 | eth_sendTransaction
contract_1 |
contract_1 |
contract_1 | Transaction: 0x86428ba716c832dd5e56fdc3f203c1f1f38e43c823e495aa12b3d9ac2c428d08
contract_1 | Gas usage: 142240
contract_1 | Block Number: 7
contract_1 | Block Time: Tue Sep 25 2018 06:21:43 GMT+0000 (Coordinated Universal Time)
contract_1 |
contract_1 | eth_getTransactionReceipt
contract_1 | net_version
contract_1 | Transaction: 0x86428ba716c832dd5e56fdc3f203c1f1f38e43c823e495aa12b3d9ac2c428d08
contract_1 | Gas usage: 142240
contract_1 | Block Number: 7
contract_1 | Block Time: Tue Sep 25 2018 06:21:43 GMT+0000 (Coordinated Universal Time)
contract_1 |
contract_1 | eth_getTransactionReceipt
contract_1 | net_version
contract_1 | eth_accounts
contract_1 | eth_accounts
contract_1 | eth_accounts
contract_1 | eth_accounts
contract_1 | eth_getBlockByNumber
contract_1 | eth_getBlockByNumber
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_getBlockByNumber
contract_1 | eth_getBlockByNumber
contract_1 | net_version
contract_1 | net_version
contract_1 | eth_sendTransaction
contract_1 | eth_sendTransaction
contract_1 |
contract_1 | Transaction: 0xef9352b905c2101bc799072d528345bf05eeda2ceffbdc020862dbf989923d64
contract_1 | Contract created: 0xe7dc0b976c359598b7c36ecb58dad5d013895b4e
contract_1 |
contract_1 | Gas usage: 224195
contract_1 | Block Number: 8
contract_1 | Block Time: Tue Sep 25 2018 06:24:34 GMT+0000 (Coordinated Universal Time)
contract_1 |
contract_1 | eth_getTransactionReceipt
contract_1 | Transaction: 0xef9352b905c2101bc799072d528345bf05eeda2ceffbdc020862dbf989923d64
contract_1 | Contract created: 0xe7dc0b976c359598b7c36ecb58dad5d013895b4e
contract_1 | Gas usage: 224195
contract_1 | Block Number: 8
contract_1 | Block Time: Tue Sep 25 2018 06:24:34 GMT+0000 (Coordinated Universal Time)
contract_1 |

Hi @fahad, xterm is a utility that allows multiple terminal windows to open at once so you can monitor the different processes separately. You are right – It is not necessarily required.

1 Like

Thanks @ainsley,now everything is working.

2 Likes

Hi @ainsley where this clientPrivKey and enclavePubKey come from when we encrypt the value
let clientPrivKey =
“853ee410aa4e7840ca8948b8a2f67e9a1c2f4988ff5f4ec7794edf57be421ae5”;
let enclavePubKey =
“0061d93b5412c0c99c3c7867db13c4e13e51292bd52565d002ecf845bb0cfd8adfa5459173364ea8aff3fe24054cca88581f6c3c5e928097b9d4d47fce12ae47”;

Hi Fahad,
Because this is a containerized docker environment for learning purposes, these are hardcoded for now. This will not be the case in our next release.

1 Like

Hey,

Have followed steps three times now and still receiving “Enigma setup still loading…”.

on the console it says " web3-providers.umd.js:67 Uncaught (in promise) Error: Node error: {“message”:“Method [object Object] not supported.”,“code”:-32000,“data”:{“stack”:“Error: Method [object Object] not supported.\n at u.handleRequest (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:374907)\n at t (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:238999)\n at a.handleRequest (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:373894)\n at t (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:238999)\n at s.f.handleRequest (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:367024)\n at s.handleRequest (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:364850)\n at t (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:238999)\n at c.handleRequest (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:372908)\n at t (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:238999)\n at a.handleRequest (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:372355)\n at t (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:238999)\n at d._handleAsync (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:239035)\n at Timeout._onTimeout (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:238460)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)”,“name”:“Error”}}
at Function.validate (web3-providers.umd.js:67)
at web3-providers.umd.js:138

I have same problem, did you solved?

error stack

web3-providers.umd.js:394 Uncaught (in promise) Error: Node error: {"message":"Method [object Object] not supported.","code":-32000,"data":{"stack":"Error: Method [object Object] not supported.\n    at u.handleRequest (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:374907)\n    at t (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:238999)\n    at a.handleRequest (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:373894)\n    at t (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:238999)\n    at s.f.handleRequest (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:367024)\n    at s.handleRequest (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:364850)\n    at t (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:238999)\n    at c.handleRequest (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:372908)\n    at t (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:238999)\n    at a.handleRequest (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:372355)\n    at t (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:238999)\n    at d._handleAsync (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:239035)\n    at Timeout._onTimeout (/home/node/.npm-global/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:52:238460)\n    at ontimeout (timers.js:436:11)\n    at tryOnTimeout (timers.js:300:5)\n    at listOnTimeout (timers.js:263:5)\n    at Timer.processTimers (timers.js:223:10)","name":"Error"}}
    at Function.validate (web3-providers.umd.js:394)
    at eval (web3-providers.umd.js:794)
validate	@	web3-providers.umd.js:394
(anonymous)	@	web3-providers.umd.js:794
Promise.then (async)		
send	@	web3-providers.umd.js:793
contract.currentProvider.sendAsync	@	getContractInstance.js:16
Provider.sendAsync	@	contract.js:26
RequestManager.sendAsync	@	requestmanager.js:86
get	@	property.js:120
(anonymous)	@	contract.js:490
detectNetwork	@	contract.js:481
contract.then	@	contract.js:415
setTimeout (async)		
runTimeout	@	browser.js:43
process.nextTick	@	browser.js:156
nextTick	@	index.js:30
resume	@	_stream_readable.js:794
Readable.resume	@	_stream_readable.js:785
Readable.on	@	_stream_readable.js:751
(anonymous)	@	getEnigmaSetup.js:44
emit	@	events.js:136
ClientRequest._connect	@	request.js:260
(anonymous)	@	request.js:159
Promise.then (async)		
ClientRequest._onFinish	@	request.js:156
(anonymous)	@	request.js:64
emit	@	events.js:136
finishMaybe	@	_stream_writable.js:613
endWritable	@	_stream_writable.js:622
Writable.end	@	_stream_writable.js:571
ClientRequest.end	@	request.js:287
get	@	index.js:37
enigmaAddress	@	getEnigmaSetup.js:31
_callee$	@	getEnigmaSetup.js:30
tryCatch	@	runtime.js:63
invoke	@	runtime.js:282
prototype.(anonymous function)	@	runtime.js:116
asyncGeneratorStep	@	asyncToGenerator.js:3
_next	@	asyncToGenerator.js:25
Promise.then (async)		
asyncGeneratorStep	@	asyncToGenerator.js:13
_next	@	asyncToGenerator.js:25
Promise.then (async)		
asyncGeneratorStep	@	asyncToGenerator.js:13
_next	@	asyncToGenerator.js:25
(anonymous)	@	asyncToGenerator.js:32
(anonymous)	@	asyncToGenerator.js:21
init	@	getEnigmaSetup.js:103
_callee$	@	App.js:19
tryCatch	@	runtime.js:63
invoke	@	runtime.js:282
prototype.(anonymous function)	@	runtime.js:116
asyncGeneratorStep	@	asyncToGenerator.js:3
_next	@	asyncToGenerator.js:25
(anonymous)	@	asyncToGenerator.js:32
(anonymous)	@	asyncToGenerator.js:21
commitLifeCycles	@	react-dom.development.js:17914
commitAllLifeCycles	@	react-dom.development.js:19473
callCallback	@	react-dom.development.js:147
invokeGuardedCallbackDev	@	react-dom.development.js:196
invokeGuardedCallback	@	react-dom.development.js:250
commitRoot	@	react-dom.development.js:19697
(anonymous)	@	react-dom.development.js:21245
unstable_runWithPriority	@	scheduler.development.js:255
completeRoot	@	react-dom.development.js:21244
performWorkOnRoot	@	react-dom.development.js:21167
performWork	@	react-dom.development.js:21072
performSyncWork	@	react-dom.development.js:21046
requestWork	@	react-dom.development.js:20901
scheduleWork	@	react-dom.development.js:20714
scheduleRootUpdate	@	react-dom.development.js:21409
updateContainerAtExpirationTime	@	react-dom.development.js:21435
updateContainer	@	react-dom.development.js:21503
ReactRoot.render	@	react-dom.development.js:21816
(anonymous)	@	react-dom.development.js:21968
unbatchedUpdates	@	react-dom.development.js:21291
legacyRenderSubtreeIntoContainer	@	react-dom.development.js:21964
render	@	react-dom.development.js:22039
(anonymous)	@	index.js:6
./src/index.js	@	main.chunk.js:57
__webpack_require__	@	bundle.js:782
fn	@	bundle.js:150
0	@	main.chunk.js:174
__webpack_require__	@	bundle.js:782
checkDeferredModules	@	bundle.js:46
webpackJsonpCallback	@	bundle.js:33
(anonymous)	@	main.chunk.js:1