Terra on NEAR · matching demo

The reference matcher of this repository runs here as WebAssembly. Place orders, watch price-time matching, and see each fill turned into an unsigned NEAR Intents token_diff pair that balances to zero. No server, no keys, no network.

loading…

Place an order

Scenarios

Conformance

The public test vectors from tests/vectors run on this very module, in your browser.

    Order book ·

    Events

    No orders yet. Submit one or pick a scenario.

    The downloaded file replays on the command line and gives the same output: cargo run -p terra-cli -- match --market examples/market.json --orders orders.jsonl

    Settlement drafts (unsigned)

    Fills appear here as pairs of token_diff intents.

    Each pair nets to zero for every token. In production both parties sign their half in their own wallet and the pair is submitted to the NEAR Intents contract. Nothing is signed or sent from this page.