About the Polygon CDK category

Polygon Supernets removes the complexity of blockchain development by providing premium support to help you build your own blockchain, without the hassle of maintaining blockchain infrastructure.

  • The discussion in this category is dedicated strictly to the Polygon Supernets framework.
  • Users can ask for technical assistance or post a general query about the Polygon Supernets framework.

Hello dear support team.

Could you please advice

I am trying to build a Local Deployment of Supernet follovig instruction

I wish to initiatete rootchain from with Mumbai Testnet

https://polygon-mumbai.g.alchemy.com/v2/demo

This address has been found in your “cloud Deployment” automation.

Same time I have an untransparent request for a Gas fee. I got tried to link metamask with issued TEST ERC & Matic via FAUCET

List of commands to reproduce

  1. initialize PolyBFT consensus
polygon-edge polybft-secrets --insecure --data-dir test-chain- --num 4


[WARNING: INSECURE LOCAL SECRETS - SHOULD NOT BE RUN IN PRODUCTION]

[SECRETS GENERATED]
network-key, validator-key, validator-bls-key, validator-bls-signature
  1. Generate the manifest file
root@validator-001:/var/lib/edge# polygon-edge manifest \
--validators-path ./ \
--validators-prefix test-chain- \
--path ./manifest.json \
--premine-validators 100


[MANIFEST INITIALIZATION SUCCESS]
Manifest file written to ./manifest.json

check fs

root@validator-001:/var/lib/edge# ls
init.sh  lost+found  manifest.json  test-chain-1  test-chain-2  test-chain-3  test-chain-4
  1. Deploy and initialize rootchain contracts
polygon-edge rootchain init-contracts --manifest ./manifest.json --json-rpc https://polygon-mumbai.g.alchemy.com/v2/demo  

[ROOTCHAIN - CONTRACTS DEPLOYMENT] started...

failed to deploy rootchain contracts: {"code":-32000,"message":"insufficient funds for gas * price + value"}
polygon-edge rootchain init-contracts --manifest ./manifest.json --json-rpc https://polygon-mumbai.g.alchemy.com/v2/demo  --rootchain-erc20 0x639F171Db18C11Dec623C
113D188b19463b86341

[ROOTCHAIN - CONTRACTS DEPLOYMENT] started...

failed to deploy rootchain contracts: root chain ERC20 token is not deployed on provided address 0x639F171Db18C11Dec623C113D188b19463b86341

 polygon-edge rootchain init-contracts --manifest ./manifest.json --json-rpc https://polygon-mumbai.g.alchemy.com/v2/demo  --test

[ROOTCHAIN - CONTRACTS DEPLOYMENT] started...

failed to deploy rootchain contracts: no accounts registered

Ask for advice on the next stages

P.S. Even for Local GETH Deployment, it got asked the same ( GAS FEE ) . but --test allowed to resolve that type of issue.