Difference between revisions of "Avalanchego"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* Binaries: <code>[[avalanchego]], [[subnet-evm]]</code> | * Binaries: <code>[[avalanchego]], [[subnet-evm]]</code> | ||
* <code>[[avalanchego --help]]</code> | * <code>[[avalanchego --help]]</code> | ||
+ | |||
+ | Configuration: | ||
+ | * [[~/.avalanchego/]]staking/[[staker.crt]] | ||
+ | * ~/.avalanchego/staking/[[staker.key]] | ||
Revision as of 19:32, 24 April 2023
avalanchego
Node implementation for the Avalanche network( GitHub, Docker hub)
- Binaries:
avalanchego, subnet-evm
avalanchego --help
Configuration:
- ~/.avalanchego/staking/staker.crt
- ~/.avalanchego/staking/staker.key
Contents
Examples
avalanchego "--db-dir=/data/avax", "--data-dir=/home/avax", "--network-id=fuji", "--api-admin-enabled=true", "--http-host=0.0.0.0", "--bootstrap-retry-enabled", "--staking-tls-cert-file=/home/avax/staking/staker.crt", "--staking-tls-key-file=/home/avax/staking/staker.key", "--track-subnets=2exxxxxxxxKBLdNkQRk", "--public-ip=xx.xx.xx.xx"
avalanchego --db-dir=/data/avax --data-dir=/home/avax --network-id=fuji --api-admin-enabled=true --http-host=0.0.0.0 --bootstrap-retry-enabled
avalanchego --network-id=fuji
- avaplatform/avalanchego
- docker run -ti -p 9650:9650 -p 9651:9651 avaplatform/avalanchego:xxxxxxxx /avalanchego/build/avalanchego
Installation
- Build from source macOS/Ubuntu:
- macOS:
git clone https://github.com/ava-labs/avalanchego.git && cd avalanchego && ./scripts/build.sh
- Ubuntu:
apt install golang-go -y -qqq && git clone https://github.com/ava-labs/avalanchego.git && cd avalanchego && ./scripts/build.sh
- macOS:
- Ubuntu:
sudo su - wget -qO - https://downloads.avax.network/avalanchego.gpg.key | tee /etc/apt/trusted.gpg.d/avalanchego.asc && source /etc/os-release && echo "deb https://downloads.avax.network/apt $UBUNTU_CODENAME main" > /etc/apt/sources.list.d/avalanche.list exit sudo apt update && sudo apt install avalanchego apt info avalanchego
Related
- Avalanche Cortina
- Upgrade avalanchego: https://docs.avax.network/nodes/maintain/upgrade-your-avalanchego-node
- Avalanchego logs
apt install golang-go
See also
- Avalanchego logs
avalanchego [ --version | --help ]
,9650, 9651
, Upgrade avalanchego, logs, Subnet EVM,~/.avalanchego/
- Avalanche, AVAX token, Ava Labs, Avalanche subnets, SING token,
avalanche-cli, subnet-cli, avalanchego, AvalancheJS
, Avalanche Network Runner, Fuji, 9650, 9651,/ext/
, Exchange Chain (X-Chain), Contract Chain (C-Chain), Platform Chain (P-Chain), Avalanche Wallet, Explorers, Avalanche Cortina, Subnet EVM, apm, HyperSDK, Multiverse, Blockpay.mx, Core.app, BitNote
Advertising: