Accumulate
  • Getting Started
    • Introduction
    • Support
    • Glossary
    • Fees
    • Networks
    • Open source and contribution
    • Frequently Asked Questions
    • Converting FCT to ACME
  • Setup
    • Local DevNet Setup
    • Follower node setup with AccMan
    • Validator node setup with AccMan
    • Retaining validator keys when wiping node data
  • CLI
    • CLI setup
    • CLI reference
      • Flags
    • Import a Factom wallet
  • Nodes
    • Operator onboarding guide
    • Debugging node issues
  • Developer Resources
    • API Reference
    • Factom API support
  • Staking
    • What is staking
    • How to stake your tokens
    • FAQ
  • Tools
    • Explorer
    • Javascript SDK
    • Java SDK
  • Deep Dive
    • Lite accounts
    • Accumulate digital identifiers (ADIs)
    • Key management
    • Identity hierarchies
    • Synthetic transactions
    • Signatures and authorities
  • Integration
    • Ledger Integration
      • How to use the Ledger with the Accumulate CLI
      • CLI Reference
    • Tendermint
  • Tutorials
    • Accumulate Bridge Guides
      • How to convert ACME to WACME
      • How to convert WACME to ACME
      • How to setup a bridge node
    • How to create a Lite Account and Keys on Mainnet / Testnet
    • Sending Tokens from a Lite Token Account via CLI
    • How to create an ADI via CLI
    • How to create a Custom Token/Token Issuer using CLI
    • Querying Accumulate token account with Json RPC API
  • Release Note
    • Release notes
      • Release Note 2.0 RC2
      • Release Note 1.0 RC1
      • Release Note 0.6
      • Release Note 0.5.1
      • Release Note 0.5
  • Blog
  • Hackathon
    • Accumulate web3athon guide
Powered by GitBook
On this page
  • Two ways of CLI setup
  • 1. Binary Installation v0.6.3
  • 2. From source

Was this helpful?

  1. CLI

CLI setup

PreviousRetaining validator keys when wiping node dataNextCLI reference

Last updated 1 year ago

Was this helpful?

The Accumulate CLI (Command Line Interface) installation and the binary installation are the fastest way to get Accumulate running locally. This guide will show you how to set up Accumulate locally.

Two ways of CLI setup

  • Binary installation

  • From the source

1. Binary Installation v0.6.3

Step 1: Choose one of the following:

Rename the file to accumulate.exe

Rename the file to accumulate

Rename the file to accumulate

Step 2: Move accumulate to a folder of your choice.

Moving it to your documents folder is recommended, making it easier to locate on your terminal.

Step 3: In order to set the permissions so you can run this file, type in the following command: chmod 744 <path_to_file>. Pro tip: drag and drop the accumulate file onto the terminal to get the path.

Step 4: Copy the binary file location and paste it into your terminal and press enter to bring up the usage guide. Pro-tip: after the first time you drag and drop, you can press the Up arrow key to repeat for every future command.

How to access Accumulate CLI from anywhere in the terminal.

This is an optional step

This step makes it easier to run accumulate since you can call it anywhere in your terminal.

2. From source

Preparing the installation

The CLI installation guide needs two requirements.

  • GO language 1.18 version

  • Terminal or any command line interface of your choice

Step 1: Clone accumulate

git clone https://gitlab.com/accumulatenetwork/core/wallet.git

Step 2: Locate accumulate folder

cd wallet

Step 4: Build Accumulate

This command works for Mac/Linux and Windows

go build ./cmd/accumulate

Once you run the command above, an accumulate binary file should appear in the root directory accumulate, which enables the CLI Commands.

Step 5: Initialize your wallet

This command will walk you through initializing your wallet:

./accumulate wallet init

If this is your first time using the Accumulate wallet, you will be prompted to set some general configuration options.

? Automatically run the wallet daemon in the background when the CLI is used?:
  ▸ Yes (password(s) will be remembered for 10 minutes)
    No (enter your password(s) each time)

Running the daemon in the background is convenient because it lets the CLI remember your passwords for up to 10 minutes after the last command, but it is somewhat less secure. If an attacker gains direct control of your PC, they could potentially abuse this feature to steal your keys.

You will be asked if you want to create a single- or multi-vault wallet. Most users should choose a single-vault wallet. Advanced users may wish to choose a multi-vault wallet as it allows multiple mnemonics and sets of keys to be used, with (optionally) different encryption keys.

? Wallet mode:
  ▸ Single vault
    Multi vault

Next you will be asked if you want to encrypt your wallet. Encrypting your wallet is highly recommended.

? Encrypt keys?:
  ▸ Yes
    No

If you chose to encrypt your wallet, you will be prompted to enter and confirm the new encryption passphrase.

New password: ****
Confirm password: ****

If you are creating a single-vault wallet, you will be asked if you wish to generate a new mnemonic, import an existing one, or skip.

Use the arrow keys to navigate: ↓ ↑ → ←
? Mnemonic:
  ▸ Create
    Import
    Skip

If you chose to create a new mnemonic, you will be prompted to write down your generated mnemonic phrase in the terminal and press enter.

Please keep your mnemonic phrase safe, it will help you restore the wallet.

Step 5: Start the CLI Tool

To test that the Accumulate is installed correctly, run the below command without arguments.

On Mac / Linux / Windows

./accumulate

You can start using the

You can follow the instructions in this

If you are creating a multi-vault wallet, the command will now exit. See for instructions on how to create vaults.

Accumulate CLI commands.
link
Managing vaults
LogoArtifacts · binaries (#6375922730) · Jobs · AccumulateNetwork / Core / Wallet · GitLabGitLab
Intel/AMD
LogoArtifacts · binaries (#6375922730) · Jobs · AccumulateNetwork / Core / Wallet · GitLabGitLab
ARM
LogoArtifacts · binaries (#6375922730) · Jobs · AccumulateNetwork / Core / Wallet · GitLabGitLab
Intel
LogoArtifacts · binaries (#6375922730) · Jobs · AccumulateNetwork / Core / Wallet · GitLabGitLab
Apple M1/M2
LogoArtifacts · binaries (#6375922730) · Jobs · AccumulateNetwork / Core / Wallet · GitLabGitLab
Intel/AMD
LogoArtifacts · binaries (#6375922730) · Jobs · AccumulateNetwork / Core / Wallet · GitLabGitLab
ARM