# get the binarycurl-sL-O storage.googleapis.com/flow-genesis-bootstrap/boot-tools.tar
# untar ittar-xvf boot-tools.tar
# verify sha256sum: a06e3e9b2443c6755214150e9e101b70dd48ae30ffcfcbbcc471ba430cb104bf
sha256sum ./boot-tools/bootstrap
# create a directorymkdir ./bootstrap
# Use a fully qualified domain name for YOUR_NODE_ADDRESS_GOES_HERE. Please also include the port number in the network address e.g. flowaccess.mycompany.com:3569
./boot-tools/bootstrap key --address"<YOUR_NODE_ADDRESS_GOES_HERE>:3569"--role access -o ./bootstrap
All your private keys should be in the bootstrap folder created earlier. Please take a back up of the entire folder.
Stake 100 FLOW
The minimum 100 is required to prevent certain vulnerabilities in the smart contract that are a result of having a zero minimum stake requirement.
Follow this guide to stake using Flow Port
Create an address to use with the faucet here on testnet
Verify That Your Node ID Was Selected
On Wednesday at around 12:00 UTC, the staking auction for the current epoch will end and five nodes from candidate list of nodes will be chosen at random by the staking contract to be part of the next epoch.
If all 5 slots have been taken from the previous epoch, then no new access nodes will be chosen
There are several ways to verify whether your node was chosen as explained below
When you stake the node, the tokens will show up under the tokensCommitted bucket. After the staking auction ends, if the node is selected, the tokens remain in the tokensCommitted bucket and are moved to the tokensStaked bucket at the end of the epoch. If the node is not selected, the tokens are moved to the tokensUnstaked bucket.
You can check via Flow Port or using flow accounts staking-info
# You can check the balance using Flow Cli. Once you have downloaded and installed Flow Cli, you can query the account balance using the command
flow accounts staking-info your_account_address -n mainnet
Bash
# You can check the balance using Flow Cli. Once you have downloaded and installed Flow Cli, you can query the account balance using the command
flow accounts staking-info your_account_address -n testnet
Bash
Look for the Tokens Staked field in the response of the above command to verify
git clone https://github.com/onflow/flow-evm-gateway.git
cd flow-evm-gateway
go build -o evm-gateway cmd/main/main.go
mv evm-gateway /usr/bin/
Bash
EVM Gateway
Each EVM Gateway operator needs to create an account on Flow as well as an account on EVM. The first one will be used to pay for fees on Flow, which means it needs to be sufficiently funded and monitored for balance (it shouldn’t fall to 0 without refunding it, as of now the node doesn’t monitor these, but will be added in the future, however, the funding won’t so it should be done manually). The second EVM account will be used to get refunded fees on EVM. That account shouldn’t have to be monitored for balance as the balance will always grow.
flow keys generate
Bash
It will generate an output like this
🔴️ Store private key safely and don't share with anyone!
Private Key 5438b13e290b257f0c41e3b23fbf3b5f5f6d4e9b2d3797430d2d2d5484db9b37
Public Key 9b85626369efe380ebd701f7189f2746fda26d09e1b63cb003bd84a5d33b662685c56427a0526a670efa88b0cb8da371cf9dc1de5ac6bbffb56e327a5c16e708
Mnemonic sustain limb elbow awkward onion crouch truth trial until poverty famous feel
Derivation Path m/44'/539'/0'/0/0
Signature Algorithm ECDSA_P256
Bash
Visit https://faucet.flow.com, and use the generated Public Key, to create and fund your Flow account. Make sure to use the Flow address and the Private Key for the —coa-address & —coa-key flags.
ACCESS_NODE_GRPC_HOST="your_domian:9000"FLOW_NETWORK_ID="flow-mainnet"INIT_CADENCE_HEIGHT="211176670"# to be confirmedCOINBASE="your_evm_address_without_0x"COA_ADDRESS="your_flow_address"COA_KEY="your_private_key"GAS_PRICE="100"# feel free to experiment with different values
Bash
ACCESS_NODE_GRPC_HOST="your_domian:9000"FLOW_NETWORK_ID="flow-testnet"INIT_CADENCE_HEIGHT="211176670"COINBASE="your_evm_address_without_0x"COA_ADDRESS="your_flow_address"COA_KEY="your_private_key"GAS_PRICE="100"# feel free to experiment with different values