Difference between revisions of "Avalanchego"

From wikieduonline
Jump to navigation Jump to search
Line 17: Line 17:
  
  
git clone [email protected]:ava-labs/avalanchego.git && cd avalanchego && ./scripts/build.sh
+
* macOS: git clone [email protected]:ava-labs/avalanchego.git && cd avalanchego && ./scripts/build.sh
 +
 
 +
 
 +
* Linux:
 +
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
 +
 
  
 
  avalanchego --network-id=[[fuji]]
 
  avalanchego --network-id=[[fuji]]

Revision as of 06:58, 5 April 2023

avalanchego --help
                   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"


  • macOS: git clone [email protected]:ava-labs/avalanchego.git && cd avalanchego && ./scripts/build.sh


  • Linux:
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


avalanchego --network-id=fuji

Advertising: