How to create a Lite Account and Keys on Mainnet / Testnet
Creating a Lite Account and Keys on mainnet or testnet is an important step for anyone interested in using Accumulate. Lite Accounts are a type of account that can be used to transact and interact with blockchain networks, while Keys are used to authenticate and signing transactions on these networks.
This guide will walk you through creating a Lite Account and Keys on both mainnet and testnet. We will cover the basic concepts and tools required to create a Lite Account, including a wallet and private keys.
By the end of this guide, you will have a better understanding of how to create a Lite Account and Keys, and you will be equipped with the knowledge and tools necessary to start using Accumulate protocol. To use the Accumulate Mainnet, you need to have a lite token account. This is the network where all the real transactions occur (as opposed to the Testnet, which is only for testing purposes). A lite token account is a basic account type in Accumulate and is needed to create an ADI where the more advanced Accumulate features are available.
Creating a lite account with Mainnet and Testnet follows same steps.
Creating a lite token account on Mainnet/ Testnet is easy and only takes a few minutes. In two simple steps, this article will show you how to create an account using CLI:
Create a wallet
Generate a key
This guide requires you to set up the Accumulate CLI on your computer. If you have not yet installed the CLI, please click here.
In the Accumulate CLI, there are two ways of generating a lite account, ./accumulate account generate
, and ./accumulate key generate [key name]
.
The first command will generate the lite account with a key and use the public key as the name, which is much less user-friendly, while the second command will generate a lite account with a custom key name.
Make sure you are running on Mainnet before continuing. Run ./accumulate
to see all the flags; check the --server flag. If you see testnet; kindly run the command below to change it to mainnet
export ACC_API=https://mainnet.accumulatenetwork.io/v2
Create a wallet
This command will create an Accumulate wallet in your CLI.
For more information on creating a wallet, check our CLI setup
2. You will create a lite account, and that can be done using the two commands:
Generate a lite account
Generate a key
Generate random Lite Identity and ACME Lite Token Account
Syntax:
Command:
The above command will return an output similar to the following:
It is necessary to create a key in Accumulate protocol because you will use it in many things:
Creating a Data account.
Also, you can view your public key using the key list and account list commands.
This command displays the list of keys available in your wallet.
Command
The above command will return an output similar to the following:
Last updated