module Banano

The Banano::Wallet class lets you manage your banano wallets, as well as some account-specific things like making and receiving payments.

Wallet seeds vs ids

Your wallets each have an id as well as a seed. Both are 32-byte uppercase hex strings that look like this:

000D1BAEC8EC208142C99059B393051BAC8380F9B5A2E6B2489A277D81789F3F

This class uses wallet ids to identify your wallet. A wallet id only exists locally on the banano node that it was created on. The person who knows this id can only perform all read and write actions against the wallet and all accounts inside the wallet from the same banano node that it was created on. This makes wallet ids fairly safe to use as a person needs to know your wallet id as well as have access to run RPC commands against your banano node to be able to control your accounts.

A seed on the other hand can be used to link any wallet to another wallet's accounts, from anywhere in the banano network. This happens by setting a wallet's seed to be the same as a previous wallet's seed. When a wallet has the same seed as another wallet, any accounts created in the second wallet will be the same accounts as those that were created in the previous wallet, and the new wallet's owner will also gain ownership of the previous wallet's accounts. Note, that the two wallets will have different ids, but the same seed.

The Banano::WalletAccount class lets you manage your banano accounts, including making and receiving payments.

Constants

VERSION