Closed amansk2050 closed 1 year ago
the validators need to be funded before initializing the contracts (in order to be able to pay for gas for deploying the contracts)
you need to fund a validator account through this command
./polygon-edge rootchain fund --addresses 0x77C1eedFf656477462ce16084fE5Dc7F8a2507B9 --amounts 1000000000000000000
funds meanning, matic or native token ?
Description
After the successful configuration of rootchain (mumbai test net) and my supernet, I am running my supernet on any jrpc port and added that chain to my metamask. The problem after that is whenever I am doing a transaction like sending some native token to any other wallet or deploying any erc20 token it goes to a pending state and does not complete the transaction.
I have used all the commands sequentially as mentioned in the doc.
operating system
I am using Ubuntu.
steps to Produce this error.
use this command sequentially.
"I have deployed this erc20 token seperately on mumbai testnet and used here"
./polygon-edge rootchain fund --amount 10000000000000000000000 \ --data-dir ./kaldi-chain-1 \ --json-rpc https://rpc-mumbai.maticvigil.com/ \ --mint \ --native-root-token \
--private-key
./polygon-edge polybft whitelist-validators --private-key --addresses --supernet-manager --jsonrpc https://rpc-mumbai.maticvigil.com/
./polygon-edge polybft register-validator --data-dir ./ \
--supernet-manager --jsonrpc https://rpc-mumbai.maticvigil.com/
"repeat this step for all nodes"
"repeat this step for each nodes".
./polygon-edge polybft supernet --private-key\
--genesis ./genesis.json \
--supernet-manager \
--stake-manager \
--finalize-genesis-set --enable-staking \
--jsonrpc https://rpc-mumbai.maticvigil.com/
./polygon-edge server --data-dir ./-1 --chain genesis.json --grpc-address :5001 --libp2p :30301 --jsonrpc :10001 --seal --log-level DEBUG
./polygon-edge server --data-dir ./-2 --chain genesis.json --grpc-address :5002 --libp2p :30302 --jsonrpc :10002 --seal --log-level DEBUG
After that add this chain to your metamask. and try to transfer some native coin to another wallet.