Node Wallet

Creating your node's wallet

The node wallet (aka mining key) provides a miner with their:

  • mining address: where mining rewards are sent

  • packing address: used to prepare data for mining (same as mining address)

  • signing key: private key used to sign blocks when a mining solution is found

For more information on how mining works see: How Mining Works

The node wallet is stored in [data_dir]/wallets and is required for all node types. If one is not present when the node first launches, it will be automatically created. If you're not running a miner it is probably fine to rely on this automatically created wallet. For miners, however, we recommend creating or importing your wallet explicitly.

You can create a wallet with the provided wallet tool:

./bin/arweave wallet create rsa [data_dir]

This script will create the wallet and place it in the [data_dir]/wallets directory. See Directory Structure for more information on setting your data_dir.

If you want to use an existing wallet, place it in [data_dir]/wallets. Imported wallets must bin in .json format and be named arweave_keyfile_ADDRESS.json where ADDRESS is the address associated with the wallet.

Note: when using coordinated mining, the wallet only needs to be present on the exit node.

Last updated

Was this helpful?