Bridge lease
To verify a bridge withdrawal transaction on the Chromia network from the EVM side, the EVM account must invoke the
withdraw
function on the Bridge smart contract and submit the block header for the block where the withdrawal was
included, along with the block signatures for verification.
The Bridge then forwards the function call to the Validator Contract, which is responsible for interacting with the Chromia nodes. After the Validator Contract verifies the validity of the signatures, it returns the result of the operation to the EVM account. This process enables the verification of specific actions on the Chromia network.
The Validator Contract maintains a list of nodes/signers on the Chromia network. To prevent situations where the Validator Contract has an incorrect list due to updates in the Chromia network, it must be updated either manually by the developer or automatically by creating a bridge lease.
The leasing process
The Bridge lease enables automatic updates to the node list in the Validator Contract. Each update incurs a transaction fee, paid in CHR tokens, converted at the current ETH exchange rate.
To initiate the process, visit the Chromia Staking webpage and connect your wallet.
Next, click the Containers lease button in the header. In the container list, select the required container and click the overflow menu and select the Bridge lease option.
Confirm your container selection by clicking the Lease a bridge button:
Specify all bridge details:
- EVM chain
- Destination chain
- EVM Bridge contract address
- Validator contract address
And click the Lease bridge button to finalize the process: