Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JSX> c = j.clients.tfchain.new(name='my_client', network_type='TEST')
- Thu 13 07:52:55 BCDB.py - 426 - bcdb:bcdb : load model:jumpscale.tfchain.client
- JSX> w = c.wallets.new("my_wallet")
- Thu 13 07:53:03 BCDB.py - 426 - bcdb:bcdb : load model:jumpscale.tfchain.wallet
- JSX> w.seed
- 'flower depend crime noodle you lock column choice baby crazy enlist current clarify wealth snack canal cause inmate thumb maple dawn eye tag pottery'
- JSX> w.address
- '01363f2c1c447d29f6f65d3e95fab9bd8cda42bd2bc3fc6adfd1ff744cd376638c5285443fcab5'
- JSX> w.address
- '01363f2c1c447d29f6f65d3e95fab9bd8cda42bd2bc3fc6adfd1ff744cd376638c5285443fcab5'
- JSX> w.balance
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainWallet.py", line 197, in balance
- result = self._unlockhash_get(address)
- File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainWallet.py", line 550, in _unlockhash_get
- return self.client.unlockhash_get(address)
- File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainClient.py", line 241, in unlockhash_get
- resp = self.explorer_get(endpoint=endpoint)
- File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainClient.py", line 447, in _explorer_get
- return j.clients.tfchain.explorer.get(addresses=self.explorer_addresses, endpoint=endpoint)
- File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainExplorerClient.py", line 63, in get
- "no explorer was available", endpoint=endpoint, addresses=addresses
- Jumpscale.clients.blockchain.tfchain.types.Errors.ExplorerNotAvailable: /explorer/hashes/01363f2c1c447d29f6f65d3e95fab9bd8cda42bd2bc3fc6adfd1ff744cd376638c5285443fcab5: no explorer was available
- /explorer/hashes/01363f2c1c447d29f6f65d3e95fab9bd8cda42bd2bc3fc6adfd1ff744cd376638c5285443fcab5: no explorer was available
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement