尚未检测到更新。GitHub 发布版本后会显示在这里。
Kadena P2P Marketplace: trade KDA person to person, with the seller’s coins held by a Pact escrow contract on chain 1 until the payment is confirmed. Part of Kadena Nexus.
翻译准备中
正在加载完整 README。
查看完整 README ↗Part of Kadena Nexus. Live at https://marketplace.kadena.ws. Peer-to-peer KDA trading with the seller's coins held by the free.p2p-escrow-v10 Pact module on chain 1 until the buyer's payment is confirmed; a platform arbiter settles disputes and timeouts.
Built by Mica Dimic (winner of the Kadena Devs escrow challenge, January to April 2026), with contributions from Mirza Muhammad Baig (April 2026) and Mustafa Zahid (contract v6 to v10 fixes, timers, trade warning pop-up; maintainer since April 2026).
DEPLOY.md. Contract versions: see contracts/README.md.main branch is the current home of the marketplace code. It continues the old Cool-Dev branch (commit 11a381b), which was overwritten by a force-push on 12 Aug 2026 and restored as recovered/Cool-Dev-marketplace.Non-custodial peer-to-peer escrow dApp on Kadena (mainnet01, chain 1). Trades are secured by the free.p2p-escrow Pact module; funds are held in the contract until release or refund.
/u/<wallet>. Profile summaries in the offer list and trade screens.@kadena/client (Pact, send, local, poll)kda_connect, createSignWithEckoWallet)git clone <YOUR_REPO_URL>
cd Kadena-NEXUS
npm install
npm run dev
For profile features (create/edit, summaries), also run the profile API in another terminal. Profiles are stored in PostgreSQL (off-chain); offers/escrows stay on-chain only.
Option 1: Local PostgreSQL Installation
psql -U postgres -c "CREATE DATABASE kadena_nexus;"
psql -U postgres -d kadena_nexus -f server/schema.sql
Option 2: Docker (Recommended for Development)
# Start PostgreSQL in Docker
docker run --name kadena-postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=kadena_nexus -p 5432:5432 -d postgres
# Run schema
docker exec -i kadena-postgres psql -U postgres -d kadena_nexus < server/schema.sql
Option 3: Cloud PostgreSQL (Production) Use services like:
# With default connection (localhost)
npm run dev:server
# Or with custom connection string
DATABASE_URL=postgresql://user:password@host:port/kadena_nexus npm run dev:server
DATABASE_URL — PostgreSQL connection string (default: postgresql://localhost:5432/kadena_nexus)
postgresql://[user[:password]@][host][:port][/database]postgresql://postgres:postgres@localhost:5432/kadena_nexusThis starts the profile API on port 3001. The Vite dev server proxies /api and /socket.io (WebSocket) to it. If you see ws proxy error: ECONNRESET in the Vite terminal, run npm run dev:server in another terminal so the profile API is up.
App runs at http://localhost:8080. Chainweb is called directly (no proxy): the app uses VITE_CHAINWEB_API or defaults to the community Chainweb API. Override with:
VITE_CHAINWEB_API=https://api.chainweb-community.org/chainweb/0.0/mainnet01/chain/1/pact npm run dev
If you see CORS errors in the browser, the API may not allow requests from your origin; you can try another API or run a small proxy yourself.
| Script | Description |
|---|---|
npm run dev | Dev server (port 8080) |
npm run dev:server | Profile API (port 3001) |
npm run build | Production build |
npm run preview | Preview production build |
npm run lint | ESLint |
The Pact module is free.p2p-escrow-v10 (see CONTRACT_MODULE in src/lib/kadena.ts; must match (module ...) in p2p-escrow.pact). It provides:
t1 for compatibility; it is unused for logic.init-config and set-config(arbiter, t1, t2, t3) (GOVERNANCE). GOVERNANCE is restricted: only a signer that satisfies the keyset admin-keyset (provided in tx data) can grant it — so only the admin can upgrade the module or run init/set-config.以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗