bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 6쪽 중 6쪽
have displayed a step-by-step process for bridging tokens by use of Beam Bridge. As the Beam Network is a permissionless blockchain network, note that anyone may deploy a bridge protocol on it and develop interfaces that interact with it.
Follow these steps to bridge your tokens to the Beam Network using the Beam Bridge.
Visit the Beam Bridge
Navigate to the
Beam Bridge
in your web browser.
Connect Your Wallet
Click the “Connect Wallet” button in the top right corner and select your wallet provider (MetaMask, WalletConnect, etc.).
Select Source Network and Tokens
Choose the network you want to bridge from in the “From” dropdown menu and select the token you want to bridge. Enter the amount you wish to bridge.
Approve Spending
Before bridging, you’ll need to approve the bridge contract to spend your tokens. Click “Approve” and confirm the transaction in your wallet.
Confirm Transaction
Click the “Bridge” button and confirm the transaction in your wallet.
Make sure you have enough native tokens on your source chain to cover gas fees.
Wait for Confirmation
Wait for the bridging process to complete. This typically takes a few minutes depending on network conditions.
Once the transaction is confirmed on both networks, your bridged tokens will be available in your wallet on the Beam Network.
How to Mint a Node Token
Installation methods
## /nodes/run_node/installation
Nodes
Run a Beam node
Installation methods
Installation Methods
Beam Nodes became available following the completion of the Horizon upgrade. There are various ways to install a Beam Node, of which the two recommended methods are covered below.
Prerequisites
Before beginning the installation of the Beam Node, please ensure you have:
Sufficient storage space for blockchain data
Reliable internet connection
Basic command line knowledge
Methods
Method 1: Setting up your own Avalanchego node
Method 2: Setting up an Avalanchego node via Docker
Bridging over to Beam Network
Setting up your own Avalanchego node
## /nodes/run_node/method1
Nodes
Run a Beam node
Setting up your own Avalanchego node
Method 1: Setting up your own Avalanchego node
Installing AvalancheGo
The first step to running a Beam Node is installing AvalancheGo, the client for the Avalanche network. The easiest method is using the installer which you can find
here
. Please note that this guide is compatible with AvalancheGo version 1.14.0.
Installing the Beam Network-EVM
Downloading the Subnet-EVM
Download the Subnet-EVM binary from the
AvalancheGo releases page
. Subnet-EVM is now maintained and released in the AvalancheGo repository.
For AvalancheGo
v1.15.0
on
Linux AMD64
, use Subnet-EVM
v1.15.0
:
mkdir
-p
subnetevm
cd
subnetevm
wget
https://github.com/ava-labs/avalanchego/releases/download/v1.15.0/subnet-evm-linux-amd64-v1.15.0.tar.gz
tar
-xvzf
subnet-evm-linux-amd64-v1.15.0.tar.gz
mkdir
-p
~/.avalanchego/plugins
install
-m
0755
subnet-evm
~/.avalanchego/plugins/kLPs8zGsTVZ28DhP1VefPCFbCgS7o5bDNez8JUxPVw9E6Ubbz
AvalancheGo and Subnet-EVM must use the same RPCChainVM protocol version.
AvalancheGo v1.15.0 requires protocol version 46, provided by the
Subnet-EVM v1.15.0 release above. The older Subnet-EVM v0.8.0 uses
protocol version 44 and is incompatible with AvalancheGo v1.15.0.
Updating
upgrade.json
does not update the Subnet-EVM binary.
The long string
kLPs8zGsTVZ28DhP1VefPCFbCgS7o5bDNez8JUxPVw9E6Ubbz
is the CB58 encoded VMID of the Beam Subnet-EVM. AvalancheGo will use the name of this file to determine what VMs are available to run from the plugins directory.
Tracking the Beam L1, configuring Partial Network Sync
To start tracking the Beam L1, update your node config in your preferred editor.
The installation script creates the node configuration file at
~/.avalanchego/configs/node.json
. If AvalancheGo is built from source, no
default file is created; you would need to create it manually if needed.
nano
~/.avalanchego/configs/node.json
Add the
track-subnets
option to node config and set
partial-sync-primary-network
. By default, an AvalancheGo node syncs all chains, including the C-Chain and X-Chain. This setting ensures that only the necessary network components are synchronized, reducing resource usage and improving node startup times.
{
"track-subnets"
:
"eYwmVU67LmSfZb1RwqCMhBYkFyG8ftxn6jAwqzFmxC9STBWLC"
,
"partial-sync-primary-network"
:
true
}
As an alternative to the config file, you can pass the subnet ID as parameter during the node start-up:
--track-subnets
eYwmVU67LmSfZb1RwqCMhBYkFyG8ftxn6jAwqzFmxC9STBWLC
Apply Network Upgrades
Create the config directory for Beam and download the
upgrade.json
file from GitHub. Place it in the appropriate directory.
You might need to use
sudo
to elevate your privileges if
mkdir
fails. If you don’t have
wget
on your particular Linux distribution, you can use the
curl -O
command instead.
mkdir
-p
~/.avalanchego/configs/chains/2tmrrBo1Lgt1mzzvPSFt73kkQKFas5d1AP88tv9cicwoFp8BSn
cd
~/.avalanchego/configs/chains/2tmrrBo1Lgt1mzzvPSFt73kkQKFas5d1AP88tv9cicwoFp8BSn
wget
https://raw.githubusercontent.com/BuildOnBeam/beam-subnet/main/subnets/beam-mainnet/upgrade.json
If you didn’t use the installer, your config directory may be located elsewhere. In that case, place the file in
{chain-config-dir}/2tmrrBo1Lgt1mzzvPSFt73kkQKFas5d1AP88tv9cicwoFp8BSn/
, where
2tmrrBo1Lgt1mzzvPSFt73kkQKFas5d1AP88tv9cicwoFp8BSn
is the
{blockchainID}
.
Restarting the Node
After updating your configuration, restart your node to begin tracking the Beam L1.
sudo
systemctl
restart
avalanchego
Once your Beam Node is properly set up, head over to
register a validator
.
Installation methods
Setting up an Avalanchego node via Docker
## /nodes/run_node/method2
Nodes
Run a Beam node
Setting up an Avalanchego node via Docker
Method 2: Setting up an AvalancheGo node via Docker
⚡ Easy Install (Recommended)
The fastest way to set up your node:
curl
-fsSL
https://docs.onbeam.com/scripts/docker-setup-beam-validator.sh
-o
docker-setup-beam-validator.sh
&&
chmod
+x
docker-setup-beam-validator.sh
&&
./docker-setup-beam-validator.sh
The script assumes that you have Docker and Docker Compose installed. You can re-run this anytime to apply future updates (new image tags, upgrade configs, etc.). If you’re using this script, you can skip the manual steps below.
Make sure you have Docker and
curl
installed and running on your system
Apply network upgrades
Create the config directory for Beam and download the
upgrade.json
file from GitHub. Place it in the appropriate directory.
You might need to use
sudo
to elevate your privileges if
mkdir
fails. If you don’t have
wget
on your particular Linux distribution, you can use the
curl -O
command instead.
mkdir
-p
~/.avalanchego/configs/chains/2tmrrBo1Lgt1mzzvPSFt73kkQKFas5d1AP88tv9cicwoFp8BSn
cd
~/.avalanchego/configs/chains/2tmrrBo1Lgt1mzzvPSFt73kkQKFas5d1AP88tv9cicwoFp8BSn
wget
-O
upgrade.json
https://raw.githubusercontent.com/BuildOnBeam/beam-subnet/main/subnets/beam-mainnet/upgrade.json
Set up VM alias mapping
mkdir
-p
~/.avalanchego/configs/vms
cat
>
~/.avalanchego/configs/vms/aliases.json
<<
EOF
{
"kLPs8zGsTVZ28DhP1VefPCFbCgS7o5bDNez8JUxPVw9E6Ubbz": ["srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy"]
}
EOF
Run Docker image
docker
run
-it
-d
\
--name
avago
\
-p
127.0.0.1:9650:9650
-p
9651:9651
\
-v
~/.avalanchego:/root/.avalanchego
\
-e
AVAGO_PARTIAL_SYNC_PRIMARY_NETWORK=
true
\
-e
AVAGO_PUBLIC_IP_RESOLUTION_SERVICE=opendns
\
-e
AVAGO_HTTP_HOST=
0.0.0.0
\
-e
AVAGO_TRACK_SUBNETS=eYwmVU67LmSfZb1RwqCMhBYkFyG8ftxn6jAwqzFmxC9STBWLC
\
-e
VM_ID=kLPs8zGsTVZ28DhP1VefPCFbCgS7o5bDNez8JUxPVw9E6Ubbz
\
avaplatform/subnet-evm:v1.15.0
Once your Beam Node is properly set up and has completed bootstrapping, head over to
register a validator
.
Setting up your own Avalanchego node
Register a validator프로젝트로 돌아가기