Near·FusionSwap

    Proof · inspect every lock


    Hashlock lab

    sha256(secret) · the hashlock both HTLCs store

    0x

    Change one character and the whole hash changes. That is why the escrows can publish the hash openly: nobody can work backwards to the secret, yet anyone can check a revealed secret against it. Computed in your browser with Web Crypto.

    Near-FusionSwap demo video thumbnail▶ Watch the demo

    Stack

    Polygon contracts
    Solidity · Foundry · 1inch cross-chain-swap
    NEAR contracts
    Rust · near-sdk · cargo-near
    Backend
    NestJS · ethers · near-api-js · 1inch cross-chain SDK
    Frontend
    Next.js · wagmi · MetaMask · three.js