Build

Run it locally

The contract tests need no account; the app runs against the live Testnet indexer.

The contracts and their tests

git clone --recurse-submodules https://github.com/Blockchain-Oracle/tsuneni && cd tsuneni
cd contracts && forge build && forge test

100 tests in four files: 84 on a Base Sepolia fork over a public RPC, 48 of them through Reactive's metered harness, and 16 for the Mainnet hedge on a local chain with Hyperliquid's precompiles mocked.

The app

pnpm install
pnpm --filter @tsuneni/web dev

It opens at http://localhost:3000 against the live Testnet indexer. Without the Try settings below, Try says its faucet is down and offers public faucets; connecting your own wallet works.

The indexer (optional)

pnpm --filter @tsuneni/indexer dev

An embedded database and public RPCs; point the app at it with NEXT_PUBLIC_INDEXER_URL.

VariableTurns on
NEXT_PUBLIC_INDEXER_URLAnother indexer (default: the live Testnet one)
NEXT_PUBLIC_WC_PROJECT_IDWalletConnect wallets
TRY_DATABASE_URL · TRY_OPERATOR_KEYTry's funding queue and the funder's operator
TRY_RESERVE_FLOORWallets' worth of reserve held back from public Try
NEXT_PUBLIC_TURNSTILE_SITE_KEY · TURNSTILE_SECRETA bot check before funding (both or neither)
PONDER_RPC_URL_84532 · PONDER_RPC_URL_1301 · PONDER_RPC_URL_5318007The indexer's RPCs

Deploying contracts and firing live loops need a funded testnet key; see the scripts' headers in contracts/script.

On this page