-
Notifications
You must be signed in to change notification settings - Fork 113
Command Line Interface
aionJoey edited this page Aug 9, 2018
·
11 revisions
From a terminal, you can interact with Aion though the command line interface which offers the following options:
Usage: ./aion.sh [options] [arguments]
-h show help info
-a create create a new account
-a list list all existing accounts
-a export [address] export private key of an account
-a import [private_key] import private key
-c [network] create config with default values to select network
-n, --network [network] execute kernel with selected network
-d, --datadir [directory] execute kernel with selected database directory
-i show information
-s create create an ssl certificate for localhost
-s create [[hostname] [ip]] create an ssl certificate for a custom hostname and ip
-r remove blocks on side chains and correct block info
-r [block_number] revert db up to specific block number
-v show version
Only the --network and --datadir option supports multi-argument CLI options:
./aion.sh --network conquest --datadir database_conquest
(The -n and -d option can be used instead and the order of the option tags do not matter)
Current available networks:
- mainnet
- conquest
Basics
Kernel Configuration
- Build Aion kernel from source
- Installation & Configuration
- Command Line Interface
- Graphical Interface
- Database
- Internal Miner
- Genesis Block
- Aion Seed Nodes
- JSON-RPC API Docs
For Developers
- How to load/debug project to IntelliJ IDEA
- Aion Code Conventions
- Migrating from Ethereum
- Precompiled contract details
- Troubleshooting the kernel
- Aion P2p Specifications
- Aion transaction Specifications
- Aion pending state and the transaction pool
Tutorials
- Importing Accounts
- Kernel Deployment Examples
- Reverting to Previous Blocks
- Application Development
- Enabling-HTTPS-for-JSONRPC
- Enabling Secure connection for Aion Java API
Modules
Tools