On-chain bounty market using XRPL Escrow and Pinata IPFS storage.
- Create Bounties: Upload problem files to IPFS and lock crypto rewards on XRPL
- Submit Solutions: Anyone can submit solution capsules to IPFS
- Transparent Payouts: Bounty issuers release escrow to winners on-chain
- Node.js 18+
- Pinata account (https://app.pinata.cloud)
- Install dependencies:
cd bounty-capsule
npm install
cd src/client && npm install && cd ../..- Configure environment:
cp .env.example .env
# Edit .env with your Pinata JWT- Start the server:
npm run server- Start the client (in another terminal):
npm run client- Create Wallet: Click "Create Test Wallet" to get XRPL Devnet credentials
- Create Bounty: Fill in title, description, and bounty amount
- Share: Others can browse and submit solutions
- Payout: Issuer selects a winner and releases the escrow
- Backend: Express.js, xrpl.js, @pinata/sdk
- Frontend: React, Vite
- Blockchain: XRP Ledger (Devnet)
- Storage: Pinata IPFS
POST /api/wallet/create- Create test walletPOST /api/wallet/from-seed- Load wallet from seedPOST /api/escrow/create- Lock funds in escrowPOST /api/escrow/finish- Release escrow fundsPOST /api/challenge/create- Create new bountyGET /api/challenges- List all bountiesPOST /api/submission/create- Submit solutionPOST /api/payout- Release bounty to winner