Hi, I’m trying to setup Token Bridge with Hyperledger Besu and I’m stuck at trying to deploy the TokenBridge Contracts on the Home & Foreign EVM’s.
Essentially after running the Deploy script I was able to get the Contracts to deploy on my home EVM but when the script tries to deploy to the Foreign network (ropsten) I run into an error saying I don’t have enough (gas * price + value)
Home Deployment Bridge completed
========================================
deploying ForeignBridge
[Foreign] deploying bridgeable token
Error: web3 RPC failed: {“code”:-32000,“message”:“insufficient funds for gas * price + value”}
I’m using the Ropsten test network
With the Infura API endpoint
I believe I don’t understand the formula for the gas when it comes to setting up the environment variables for the token bridge contract deployment script
HOME_RPC_URL=***
HOME_BRIDGE_OWNER=0x627306090abaB3A6e1400e9345bC60c78a8BEf57
HOME_VALIDATORS_OWNER=0x627306090abaB3A6e1400e9345bC60c78a8BEf57
HOME_UPGRADEABLE_ADMIN=0x627306090abaB3A6e1400e9345bC60c78a8BEf57
HOME_DAILY_LIMIT=30000000000000000000000000
HOME_MAX_AMOUNT_PER_TX=1500000000000000000000000
HOME_MIN_AMOUNT_PER_TX=1
HOME_REQUIRED_BLOCK_CONFIRMATIONS=1
HOME_GAS_PRICE=1
BLOCK_REWARD_ADDRESS=0xFE3B557E8Fb62b89F4916B721be55cEb828dBd73
FOREIGN_RPC_URL=https://ropsten.infura.io/v3/**********
FOREIGN_BRIDGE_OWNER=0xB28Fde56b5127801875a0Fb403403f03cA98B400
FOREIGN_VALIDATORS_OWNER=0xB28Fde56b5127801875a0Fb403403f03cA98B400
FOREIGN_UPGRADEABLE_ADMIN=0xB28Fde56b5127801875a0Fb403403f03cA98B400
FOREIGN_DAILY_LIMIT=15000000000000000000000000
FOREIGN_MAX_AMOUNT_PER_TX=1000000000
FOREIGN_MIN_AMOUNT_PER_TX=1
FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS=1
FOREIGN_GAS_PRICE=1
I used this link https://faucet.ropsten.be/ to get 1 ETH for my Ropsten address
I don’t understand how to set theses environment variables