Bind Consumer to Anchor
To activate your bridge, there are several steps left to finish the whole process:
Fetch the Anchor address, pass it as a constructor parameter and deploy your application contract (should have implemented
BoolConsumerBase.sol
). An application contract example can be found here.Get the address of your application, and go back to your Dashboard. Click
View
andUpdate
to have your application connected to a selected AnchorYou may encounter a misconfiguration error here, which implies that either your application does not implement
BoolConsumerBase.sol
or the anchor address in your application does not match the currently selected one.Please refer to our repo at https://github.com/boolnetwork/advanced-solidity-tutorials?tab=readme-ov-file#tokenbridgesol---a-burn--mint-erc20-token-bridge and follow the steps in the section TokenBridge-3 to configure remote anchors.
If everything goes perfectly, you can now send your first cross-chain message and monitor the lifecycle of a message on BoolScan later.
Last updated