{"repo":"matter-labs/zksync-withdrawal-finalizer","free":true,"listed":false,"github":"https://github.com/matter-labs/zksync-withdrawal-finalizer","clone":"git clone https://github.com/matter-labs/zksync-withdrawal-finalizer.git","description":"zkSync 2.0 Withdrawal Finalizer","language":"Rust","stars":61,"topics":["crypto","ethereum"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"zksync-era-withdrawal-finalizer A Withdrawal Finalizer in Rust. Purpose Withdrawal Finalizer is a component of zksync-era responsible for monitoring and finalizing L2- L1 withdrawals. It does so by continuously monitoring events happening on both L2 and L1, keeping some state in persistent storage (which is PostgreSQL) and sending withdrawal finalization transactions whenever necessary. Building Building the project is straightforward: Deploying To deploy this service you will need the following prerequisites: 1. Websocket RPC endpoint on Ethereum. 2. Websocket RPC endpoint on zkSync Era. 3. An instance of PostgreSQL database. Running DB migrations Prior to deployment of the service the database migrations have to be run with sqlx-cli component of sqlx : Configuration Configuration is done via environment variables that can also be read from .env file if it is present. Deployment is done by deploying a dockerized image of the service. Variable Description -------- ----------- ETH CLIENT WS URL The address of Ethereum WebSocket RPC endpoint ETH CLIENT HTTP URL The address of Ethereum HTTP RPC endpoint CONTRACTS L1 ERC20 BRIDGE PROXY ADDR Address of the L1 ERC20 bridge contract CONTRACTS L2 ERC20 BRIDGE ADDR Address of the L2 ERC20 bridge contract CONTRACTS DIAMOND PROXY ADDR Address of the L1 diamond proxy contract CONTRACTS WITHDRAWAL FINALIZER CONTRACT Address of the Withdrawal Finalizer contract API WEB3 JSON RPC WS URL Address of the zkSync Era WebSocket RPC endpoint API W","default_branch":null,"files":null,"tree":[],"storefront":"/r/matter-labs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/matter-labs/zksync-withdrawal-finalizer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}