Skip to main content

Ready-made wallet

We provide an open-source wallet as a Chrome extension. The source code and the installation instructions are in the lenarchain/lenar-wallet repository.

Build your own

A wallet only needs to do five things. Each one is covered in these docs:
  1. Generate an Ed25519 key pair and derive the address. See Addresses.
  2. Read the balance and nonce with Get account.
  3. Fetch the chain ID, the power price, and a tip recommendation. See Get chain ID, Get power price, and Get tip recommendation.
  4. Build and sign the transaction. See Transactions.
  5. Send it with Send transaction, then track it with Get transaction.
Your private key controls your funds. Back it up offline, never share it, and never commit it to a repository.