Paraape
Run it

Web app

Landing, Protect, Underwrite, and Dashboard.

apps/web is the Next.js app at paraape.xyz. From the repo root, pnpm web.

cd apps/web
cp .env.example .env

Restart the dev server after env edits.

Variable
ROBINHOOD_TESTNET_RPC_URLServer-only upstream. The browser calls /api/rpc on this app
NEXT_PUBLIC_USDG_ADDRESSSame USDG as the contracts
NEXT_PUBLIC_FACTORY_ADDRESSfactory from DeployParaape
NEXT_PUBLIC_LOCKER_ADDRESSlocker
NEXT_PUBLIC_POOL_MANAGER_ADDRESSv4 PoolManager
NEXT_PUBLIC_PAPE_ADDRESSListed demo token, for the faucet
NEXT_PUBLIC_FRESH_ADDRESSUnlisted demo token, for the faucet
NEXT_PUBLIC_REOWN_PROJECT_IDWalletConnect / Reown project id
NEXT_PUBLIC_INDEXER_URLOptional. Default is /api/indexer
INDEXER_PROXY_URLWhere that proxy forwards. Dev default is the indexer on port 42069

Pages

Route
/Landing
/protectBuy cover
/underwriteDeposit USDG. Opens a market on a locked unlisted pool
/dashboardPolicies, deposits, settle, challenge, payout

The market list, policies, and activity come from the indexer. Quotes, balances, and transactions come from the chain.

A connected wallet on Robinhood testnet can mint testnet USDG, PAPE, and FRESH from the wallet menu when those token addresses are set. DemoToken.mint is public. The amounts are for using the app, not for crashing the pool.

Approve spends the premium or the deposit you are about to send, not a multiple of it. A previous larger allowance can still sit on the token until you revoke it.

On this page