Difference between revisions of "Avalanchego"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* Binaries: <code>[[avalanchego]], [[subnet-evm]]</code>
 
* Binaries: <code>[[avalanchego]], [[subnet-evm]]</code>
 
* <code>[[avalanchego --help]]</code>
 
* <code>[[avalanchego --help]]</code>
 
+
* Ports: <code>9650, 9651</code>
Configuration:
+
* Configuration:
* [[~/.avalanchego/]]staking/[[staker.crt]]  
+
** <code>[[~/.avalanchego/]]staking/[[staker.crt]]</code>
* ~/.avalanchego/staking/[[staker.key]]
+
** <code>~/.avalanchego/staking/[[staker.key]]</code>
 
 
  
 
== Examples ==
 
== Examples ==
Line 29: Line 28:
 
* Docker: https://hub.docker.com/r/avaplatform/avalanchego/tags
 
* Docker: https://hub.docker.com/r/avaplatform/avalanchego/tags
 
: [[avaplatform/avalanchego]]
 
: [[avaplatform/avalanchego]]
:docker run -ti -p [[9650]]:9650 -p [[9651]]:9651 avaplatform/avalanchego:xxxxxxxx /avalanchego/build/avalanchego
+
:<code>docker run -ti -p [[9650]]:9650 -p [[9651]]:9651 avaplatform/avalanchego:xxxxxxxx /avalanchego/build/avalanchego</code>
  
 
== Installation ==
 
== Installation ==
Line 48: Line 47:
 
* [[Avalanchego logs]]
 
* [[Avalanchego logs]]
 
* <code>[[apt install golang-go]]</code>
 
* <code>[[apt install golang-go]]</code>
 +
* [[Cryptocurrency nodes]]
 +
* <code>[[avalanche-cli]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 13:06, 1 July 2024

avalanchego Node implementation for the Avalanche network( GitHub, Docker hub)

Examples[edit]

                   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[edit]

  • 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[edit]

See also[edit]

Advertising: