Authorizer
This page provides a high-level overview of the authorizer node's structure and functionality, ensuring clarity on its role within the Züs network.
Last updated
This page provides a high-level overview of the authorizer node's structure and functionality, ensuring clarity on its role within the Züs network.
Last updated
The authorizer node plays a crucial role in the token bridge protocol by validating and signing burn and mint tickets. It ensures the integrity of transactions by verifying burn transactions on the Ethereum blockchain (ERC-20 tokens) and issuing proof-of-burn tickets to clients. These tickets are then used to mint new tokens on the Züs blockchain (ZCN tokens). The authorizer node's validation is essential for maintaining the trust and security of the bridge protocol, enabling seamless token conversions between the Ethereum network and the Züs blockchain.
Below is a detailed description of its functionality:
Burn Tickets: When a user wants to convert WZCN tokens (ERC-20) to ZCN tokens (native to the Züs blockchain), they first burn the WZCN tokens. This generates a burn ticket, which the authorizer node must sign.
Mint Tickets: Conversely, when a user wants to convert ZCN tokens to WZCN tokens, they burn the ZCN tokens to generate a mint ticket, which also requires the authorizer node's signature.
Verification: The authorizer node verifies the validity of burn and mint tickets by checking the corresponding smart contracts on the Ethereum network or the Züs blockchain.
For burn tickets, the authorizer node ensures that the tokens have indeed been burned and that the transaction is recorded in the smart contracts.
For mint tickets, the node verifies that the ZCN tokens have been burned in the native network's smart contracts.
Signing Tickets: The authorizer node uses asymmetric key encryption for signing tickets. It signs the tickets using its private key.
Verification by Smart Contracts: The validity of these tickets is then confirmed by smart contracts using the authorizer node's public key.
The authorizer node interacts with smart contracts deployed on both the Ethereum network and the Züs blockchain.
It ensures that the burn and mint tickets are properly recorded and validated, maintaining the integrity of the bridge protocol.
Reward Mechanism: Authorizer nodes are rewarded based on the tickets they sign. The rewards are distributed as transaction fees, paid in ZCN for ZCN mint transactions and in ether for WZCN mint transactions.
Penalties: If the authorizer fails to validate and sign tickets correctly, they may face penalties as outlined in the governance protocol.