Montra Season 2 points trade before the season closesOpen the book
Opora

SDK

One ES module, served from this site at /sdk/opora.mjs, with the escrow's ABI at /sdk/abi.json. It uses viem.

import { createWalletClient, custom } from "https://esm.sh/viem@2.58.8";
import { Opora } from "/sdk/opora.mjs";

const wallet = createWalletClient({ transport: custom(window.ethereum) });
const opora = new Opora({ wallet, escrow: "0x5a495e1d4807f7F514CD4a747B5b514d90f33bF4" });

await opora.postOffer({ market: 0, side: "sell", price: "0.0044", amount: 250000, minFill: 10000 });
await opora.fill({ offerId: 12, amount: 40000 });
const book = await opora.book(0);
await opora.deliver([3, 4, 9]);

Approvals of USDC (and of the token at delivery) are sent by the SDK when the allowance is short.