About
Our project is a cross-chain bridge solution that enables token transfers between Ethereum (EVM) and NEAR Protocol (non-EVM) blockchains. The system is built on three main pillars: Ethereum smart contracts (in Solidity), NEAR Protocol contracts (in Rust), and a Python-based relayer system.
The core functionality relies on Hashed Timelock Contracts (HTLC) and an escrow system for secure transactions. On Ethereum, the contracts handle partial fills using Merkle tree verification, allowing transactions to be split into equal parts. The NEAR side implements corresponding escrow and resolver contracts to manage token transfers on its blockchain.
The Python relayer service acts as the bridge between chains, featuring chain-specific listeners, a state manager, and an API server. This service monitors blockchain events, manages transaction states, and provides an interface for order management. Security is ensured through multiple mechanisms, including HTLCs, Merkle tree verification, and timelock systems.
The project's implementation includes detailed deployment procedures for both chains. On NEAR, this involves contract deployment via NEAR CLI, proper storage management for fungible tokens, and a system for contract updates using base64-encoded WASM files. The Ethereum side handles deployment through a factory pattern, with proper resolver registration and escrow contract creation mechanisms.
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






