Difference between revisions of "Avalanchego"

From wikieduonline
Jump to navigation Jump to search
Line 16: Line 16:
 
                     "[[--public-ip]]=xx.xx.xx.xx"
 
                     "[[--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 --db-dir=/data/avax --data-dir=/home/avax --network-id=fuji --api-admin-enabled=true --http-host=0.0.0.0 --bootstrap-retry-enabled
 +
 +
  
 
* Build from source macOS/Ubuntu:  
 
* Build from source macOS/Ubuntu:  

Revision as of 12:02, 11 April 2023

                   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


  • 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


avalanchego --network-id=fuji
avaplatform/avalanchego
docker run -ti -p 9650:9650 -p 9651:9651 avaplatform/avalanchego:xxxxxxxx /avalanchego/build/avalanchego

Related

See also

Advertising: