nanoblocks.wallet package
Submodules
nanoblocks.wallet.wallet module
- class nanoblocks.wallet.wallet.Wallet(nano_network, seed=None)
Bases:
nanoblocks.base.nanoblocks_class.NanoblocksClass
Represents a Wallet in the Nano ecosystem.
This is class does not use any backend for creating or managing account keys.
Keep in mind that this class holds private keys, thus should be secured.
- property accounts
Retrieves access to the accounts from this wallet.
- classmethod from_mnemonic(words_list, nano_network)
Instantiates this class based on a bip39 mnemonic list of keywords.
This method tolerates missing words in the list (set to None). In case it detects missing words, the method will attempt to refill them with a random word.
- Parameters
words_list – List of 24 words to use for importing the seed.
nano_network – A network object giving access to node and work backends.
- property mnemonic
Derives the bip39 mnemonic for the seed of this wallet.
- property seed
Retrieves the seed of this wallet
Module contents
The wallet subpackage gives access to wallet classes.