Wallet
#
IntroductionAlpha software
The wallet is considered alpha software. Please don't use the wallet for any real Nano unless you know what you are doing. It is not matured and may have bugs that can lose your funds, etc.
Backup your keys
If you feel the need to use this alpha component, make sure you back up your seeds/phrase/private keys, not just the wallet file.
No file locking
There is no file locking currently, so two processes writing to it at the same time will cause unpredictable results.
A wallet file is a collection of wallets. Wallets are accessed using a wallet ID or a default wallet.
Feeless supports three different wallet types:
- A single private key.
- A mnemonic phrase.
- A seed.
You can use environment variables to make your life easier.
The file storage is JSON.
#
Environment variablesFeeless wallets support two environment variables to save typing out the same arguments over and over again:
FEELESS_WALLET_FILE
which is the name of the file.FEELESS_WALLET_ID
which specifies the wallet ID.
For example, these two commands are equivalent:
#
Wallet IDs#
Specific Wallet IDsA wallet file can contain multiple wallets, represented by a wallet ID which is a hex string:
Wallet IDs are not the private key or seed, these are just an identifier for the wallet itself.
#
Default walletsIf you only need to work with one wallet, you can use a default wallet which is just a zero value.
Please note that if a wallet ID already exists, it can't be created again.
When you don't specify the wallet ID in further commands, it will assume the default key.
#
Generating addressesYou can generate multiple addresses depending on your wallet type. Private wallets can only generate one address.
#
File storeWallets are stored as JSON files currently, and look like this:
You can create and remove entries yourself if required.