Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
535
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.96 KB | None | 0 0
  1. JSX> c = j.clients.tfchain.new(name='my_client', network_type='TEST')
  2. Thu 13 07:52:55 BCDB.py - 426 - bcdb:bcdb : load model:jumpscale.tfchain.client
  3. JSX> w = c.wallets.new("my_wallet")
  4. Thu 13 07:53:03 BCDB.py - 426 - bcdb:bcdb : load model:jumpscale.tfchain.wallet
  5. JSX> w.seed
  6. 'flower depend crime noodle you lock column choice baby crazy enlist current clarify wealth snack canal cause inmate thumb maple dawn eye tag pottery'
  7.  
  8. JSX> w.address
  9. '01363f2c1c447d29f6f65d3e95fab9bd8cda42bd2bc3fc6adfd1ff744cd376638c5285443fcab5'
  10.  
  11. JSX> w.address
  12. '01363f2c1c447d29f6f65d3e95fab9bd8cda42bd2bc3fc6adfd1ff744cd376638c5285443fcab5'
  13.  
  14. JSX> w.balance
  15. Traceback (most recent call last):
  16. File "<stdin>", line 1, in <module>
  17. File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainWallet.py", line 197, in balance
  18. result = self._unlockhash_get(address)
  19. File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainWallet.py", line 550, in _unlockhash_get
  20. return self.client.unlockhash_get(address)
  21. File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainClient.py", line 241, in unlockhash_get
  22. resp = self.explorer_get(endpoint=endpoint)
  23. File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainClient.py", line 447, in _explorer_get
  24. return j.clients.tfchain.explorer.get(addresses=self.explorer_addresses, endpoint=endpoint)
  25. File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainExplorerClient.py", line 63, in get
  26. "no explorer was available", endpoint=endpoint, addresses=addresses
  27. Jumpscale.clients.blockchain.tfchain.types.Errors.ExplorerNotAvailable: /explorer/hashes/01363f2c1c447d29f6f65d3e95fab9bd8cda42bd2bc3fc6adfd1ff744cd376638c5285443fcab5: no explorer was available
  28.  
  29. /explorer/hashes/01363f2c1c447d29f6f65d3e95fab9bd8cda42bd2bc3fc6adfd1ff744cd376638c5285443fcab5: no explorer was available
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement