Step 2: Setup Connection

Lets get to connecting!

1.) Home chain setup

As of now, if your NFT Contract is not Layer-zero compatible (see contract architecture), you will see a button "Deploy Proxy Contract". We will have to deploy a proxy LZ compatible contract that acts on your main collection's behalf.

This enables communication through out the chains that you want it to be deployed.

Go on and proceed to deploying the proxy contract and it should ask for a transaction.

For LZ compatible contracts, you should skip on this step.

2.) Choose Connector Chain

At this point, you may choose which chain you want your NFT collection to be bridgeable to!

Please take note that for each chain you want to connect to, there will be 1 contract deployment and 3 needed transactions for each chain that you want to be connected to.

3.) Connector Chain Setup

Adding a new chain requires you to deploy the contract on the connecting chain first. This allows us to communicate to the other chain and makes the other contract as the receiving contract. (see contract architecture).

After deploying the connector contract, three transactions are needed to be called:

  • Connector Call: This transaction is needed to state on the contract that your home chain can communicate with the destination chain and vice versa.

  • Min Gas Setup Call: This transaction is required to set the minimum gas collection holders can set when bridging to other chains (Default is 150,000 wei)

  • Max Batch Setup Call: This transaction is required to set the maximum batch of NFTs a collection holder can send to other chains. (Contact us when you want this to be customzied, default is 20)

4.) Check connection status

Once every transaction was called successfully, check on the left panel of your page to see whether your setup has been completed.

If you see 100% overall connection status, this means that your NFT collection is bridgeable to the chains that you selected. You may now use bridge.kingdomly.app to send your NFTs across chains!

Last updated