waves_logo Docs
  • Node Owner Guide
    Node Owner Guide
  • Install Waves Node
    • Deploy Node in Docker
      Deploy Node in Docker
    • Install Node on Ubuntu
      Install Node on Ubuntu
    • Install Node on macOS
      Install Node on macOS
    • Install Node on Windows
      Install Node on Windows
    • Install from Source (Building SBT)
      Install from Source (Building SBT)
    • Deploy Node in Cloud
      • Deploy Node in Yandex.Cloud
        Deploy Node in Yandex.Cloud
      Deploy Node in Cloud
    Install Waves Node
  • Synchronize Waves Blockchain
    • Import/Export Blockchain
      Import/Export Blockchain
    • Download the Latest Blockchain
      Download the Latest Blockchain
    • Rollback Waves Node
      Rollback Waves Node
    Synchronize Waves Blockchain
  • Upgrade Waves Node
    Upgrade Waves Node
  • Node Configuration
    Node Configuration
  • Logging Configuration
    Logging Configuration
  • Node Wallet
    Node Wallet
  • Features
    • Activation protocol
      Activation protocol
    Features
  • Custom Blockchain
    Custom Blockchain
  • Node REST API
    • API Key
      API Key
    • Working with Transactions
      Working with Transactions
    • Monetary Fields
      Monetary Fields
    • Pagination
      Pagination
    • CORS
      CORS
    • API Limitations of Pool of Public Nodes
      API Limitations of Pool of Public Nodes
    • Response Codes and Errors
      Response Codes and Errors
    Node REST API
  • Extensions
    • gRPC Server
      gRPC Server
    • Blockchain Updates
      Blockchain Updates
    Extensions
  • Troubleshooting
    • Block Generation FAQ
      Block Generation FAQ
    Troubleshooting
  • Node Go
    Node Go
      • English
      • Русский
      On this page
        • Creating a New Wallet From Scratch
        • Creating Wallet Using Existing Seed
        • Using Existing Wallet
        • Updating Wallet's Settings
        • Changing node's account
      waves_logo Docs

          # Node Wallet

          Every node has a connected wallet providing:

          • ability to mine.
          • ability to sign transactions.

          A node can have a single wallet with a single seed, contained in the wallet.

          In this article, the following use cases of wallet are reviewed:

          • creating a new wallet from scratch.
          • creating wallet using existing seed.
          • using existing wallet.
          • updating wallet's settings.
          • changing node's account.

          # Creating a New Wallet From Scratch

          On startup a node creates wallet if the directory listed in wallet section of node's configuration file (opens new window) does not already contain wallet.dat file.

          During the wallet creation the node will:

          • generate random seed;
          • write the generated seed to STDOUT;
          • request in the console password to encrypt seed.

          The seed phrase written to STDOUT should be stored in a safe location. The seed phrase can not be restored. You can only restore the hash of the seed phrase: you can get it with GET /addresses/seed/{address} Node REST API method. You can then use the hash to get the accout private key.

          Encripted seed phrase will be saved in wallet.dat file. To avoid entering password every time you run the node it is recommended to specify it in wallet section of the node configuration file.

          # Creating Wallet Using Existing Seed

          If you already have a seed, then input the following parameters in the wallet section of node's configuration file (opens new window):

          • base58-encoded seed.
          • password.

          If necessary, change the path to directory where the generated wallet.dat must be placed. wallet section example with described settings is provided below:

          wallet {
              file = ${waves.directory}"/wallet/wallet.dat"
              password = "some-string-as-password"
              seed = "base58-encoded-seed"
          }
          

          As a result, the wallet.dat will be generated in the selected directory based on the existing seed.

          # Using Existing Wallet

          If you already have the wallet.dat created before, then just put it in the directory listed in the wallet section, and specify a password for it with the password parameter. Additional actions are not required.

          # Updating Wallet's Settings

          If you want to run the node with another wallet, use one of the following instuctions:

          • Replace wallet.dat file with the file which contains SEED phrase of another wallet.

          OR

          • Delete/move to another location your wallet.dat file to empty /wallet directory. Then update SEED in config file.

          After restarting the node will use another wallet settings.

          # Changing node's account

          If you need to change node's account, first of all, delete the existing wallet.dat. After that, you can:

          • create a new wallet from scratch.
          • create a wallet using existing seed.
          • use other wallet.
          Logging Configuration
          Features
          Logging Configuration
          Features