- Official Documentation: Autonity Documentation
- GitHub Repositories: Autonity GitHub
- Network Explorer:
- Validator Explorer:
- RPC List: Chainlist
- Tiber task Repositories: tiber-task
For detailed hardware requirements, refer to Hardware Requirements.
Run the following commands to install the required tools:
sudo apt-get update && sudo apt-get upgrade -y
sudo apt install curl git jq expect ufw -y
Clone this repository and install:
git clone https://github.com/adanothe/autonity.git
cd autonity
chmod +x install.sh
bash install.sh
- During installation, provide the password for wallet.
To create a wallet, run the command:
autonity wallet
- Select "Create Wallet" and create two wallets named
oracle
andtreasury
. - Wallets will be saved in the directory
$HOME/.autonity/keystore
. - Export the private key the
oracle
wallet by choosing "Export private key from existing wallet" and selectingoracle.key
. This key is used for validator registration.
Note:
treasury.key
: Used for transactions, validator lifecycle, and staking rewards.oracle.key
: Used to sign price report transactions sent to the Oracle Contract. Make sure it's funded to avoid gas issues.
If migrating validators from old server, skip the steps above, Simply move the backups of treasury.key
and oracle.key
to $HOME/.autonity/keystore
and autonitykeys
to $HOME/autonity-cahindata/autonity
.
When running autonity wallet
command you will be presented with the following options:
- Create new wallet
- Import wallet using private key
- Export private key from existing wallet
- wallet infor
- create signature message
- create signature message with validator key
- Backup wallet
- create transaction
To manage your node, use the following commands:
autonity node start # Start the node
autonity node logs # View node logs
autonity node sync # Check sync status
autonity node restart # Restart the node
autonity node info # Display node info
autonity node stop # Stop the node
autonity node update # Update the node
Check if your node is synced:
autonity node sync
Fund oracle wallet (oracle.key
) wallet with ATN by using the autonity wallet
command and selecting "create transaction" menu.
Edit the plugins-conf.yml
file to configure plugins. Obtain API keys from:
Edit the configuration:
nano $HOME/.autonity/oracle/plugins-conf.yml
To manage the Oracle server, use the following commands:
autonity oracle start # Start Oracle server
autonity oracle logs # View Oracle logs
autonity oracle restart # Restart Oracle server
autonity oracle stop # Stop Oracle server
autonity oracle update # Update Oracle server
Manage your validator using the following commands:
autonity validator setup # Validator setup
autonity validator info # Display validator information
autonity validator list # List all validators
autonity validator seat active # Check the list validators in active seats
When running autonity validator setup
command you will be presented with the following options:
- Create Validator: Set up a new validator.
- Stake & Unstake Validator: Manage the staking and unstaking your validator.
- Pause & Reactivate Validator: Temporarily pause or reactivate your validator.
- Change Commission Validator: Update the commission rate for your validator.
- Set Up Environment Variables
-
Edit the
.env
file:nano $HOME/autonity/.env
-
Add your details:
RPC_URL=your_rpc_url SENDER_PRIVATE_KEY=your_private_key RECIPIENT_ADDRESS=your_recipient_address
- Run swap command:
autonity swap
validator
: Validator managementwallet
: Wallet managementnode
: Node managementoracle
: Oracle server managementswap
: On-chain swaphelp
: Display help menu
For more details, run:
autonity help