✏️
go-conflux-sdk
  • README
  • Quickstart
  • Getting Started
    • Run a Node locally
    • Interacting with a Node
    • Deploy and Interact with Smart Contracts
    • Subscription
  • Smart Contracts
    • Smart Contract Overview
    • Getting Started with Solidity
    • Compiling Solidity source code
    • Interacting with Smart Contracts
    • Application Binary Interface
    • Contracts Supported
  • Transactions
    • Conflux Transactions
    • Obtaining CFX
    • Gas & Storage Collateral
    • Account Manager
    • Transfer CFX
    • Transaction Nonce
    • Batch Call snd Send Transactions
  • Other
    • Call/BatchCall RPC Hook
    • Conflux Addreess
  • Conflux-ABIGEN
  • ChangeLog
  • References
Powered by GitBook
On this page
  • Manage Accounts
  • Feature

Was this helpful?

  1. Transactions

Account Manager

PreviousGas & Storage CollateralNextTransfer CFX

Last updated 2 years ago

Was this helpful?

Manage Accounts

Use AccountManager struct to manage accounts at the local machine. Account will be saved as keystore file in specified folder when creates account.

Specify folder for save keystore files to create Account Manager, we need pass networkID be parameter because of conflux address display dependent on it.

am := new AccountManager(<Your_Keystore_Folder>, <NetworkID>)

Feature

  • Create an account.

  • Import an account by keystore file.

  • Import an account by private key.

  • Export an account to be private key.

  • Update an account.

  • Delete an account.

  • List all accounts.

  • Unlock/Lock an account.

  • Sign a transaction.

See API introduction from

API Doc