在 Solana 上的代幣化分級交易卡指數永續合約做多或做空。作為資金池賺取手續費,或將分級卡存入金庫以取得分割持有權。
AI 翻譯
Go long or short on an index of tokenized graded trading cards with perpetuals on Solana. Earn fees as the pool, or vault a graded card for fractions.
金融TypeScript · RustGitHub @kadex-protocol上線中營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證在 Solana 上的代幣化分級交易卡指數永續期貨。
AI 翻譯
Perpetual futures on an index of tokenized graded trading cards, on Solana.
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Kadex
Perpetual futures on an index of tokenized graded trading cards, on Solana.
Kadex turns the graded card market into something you can trade. A collector can own a card or sell it. Kadex adds the positions that were missing: a short, a leveraged long, and a hedge for someone who holds inventory. It puts one index on chain, the Kadex Index, and builds a perpetual market on it.檢視完整 README ↗Kadex turns the graded card market into something you can trade. A collector can own a card or sell it. Kadex adds the positions that were missing: a short, a leveraged long, and a hedge for someone who holds inventory. It puts one index on chain, the Kadex Index, and builds a perpetual market on it.
| Side | What you do | Program |
|---|---|---|
| Trade | Go long or short on the index with up to 5x leverage. Margin is posted in kdUSD. The ticket shows margin, fee and liquidation price before you sign. | perp |
| Earn | Deposit kdUSD or the index token tKDX and receive CLP shares. The pool takes the other side of every trade and collects trading fees and borrow. | clp-pool |
| Vault | Lock a whitelisted graded card and receive fractions equal to its appraised value. Return every fraction to take the card back. | card-vault |
What makes it different:
refresh_price. If the keeper stops, anyone can keep the price alive.Captured from the devnet app.
| Trade | Earn |
|---|---|
| Vault | Card page |
|---|---|
flowchart LR
subgraph PEOPLE["People"]
TR["Trader"]
LP["Liquidity provider"]
OW["Card owner"]
end
WEB["Web app<br/>Trade, Earn, Vault, Portfolio"]
CC["Collector Crypt<br/>card data"]
subgraph CHAIN["Solana devnet"]
RAY[("Raydium CPMM pool<br/>tKDX and kdUSD")]
ORA["oracle"]
PERP["perp"]
CLP["clp-pool"]
CV["card-vault"]
end
subgraph SERVICES["Services"]
KE["keeper"]
LI["liquidator"]
MO["price mover"]
end
TR --> WEB
LP --> WEB
OW --> WEB
CC --> WEB
WEB -->|"open, close"| PERP
WEB -->|"deposit, withdraw"| CLP
WEB -->|"vault, redeem"| CV
RAY -->|"reserves"| ORA
ORA -.->|"price, read only"| PERP
ORA -.->|"price, read only"| CLP
PERP -->|"CPI"| CLP
KE -->|"refresh_price"| ORA
LI -->|"liquidate"| PERP
MO -->|"swaps"| RAY
The oracle program turns the pool's reserves into one official price: a 30-minute time-weighted average, capped at 5% of movement per 15 seconds. perp settles every position at that price and calls clp-pool, the only program that pays a trader. More graphs: docs/system-map.md and docs/flows.md.
Deployed on 12 Oct 2026. The tokens are devnet test tokens.
| What | Address |
|---|---|
oracle program | 5288ShBXsFxqXiGm22FZi1ZrMnmet4i1ZR3bccyAguqp |
clp_pool program | 3XZkAqLeQDoNXD6Bb9YoGSEdnvqk9r7UMgrKsN5x3L9v |
perp program | BcVwJ91Jd1k7xUNcGYzRygq2ubaCYn7p5MeUZzy1EyLR |
card_vault program | J8Tef8N4YSfVwAxpBemCZrz3qCxehTeb2cd1jTwoBczW |
kdUSD, the stable token | E2zRTPSvxyqTuiPvnGinCRWDLAfXUkNdLfUVcaFpTCzc |
tKDX, the index token | FKNJbb86SZMFZgDVTK48atX4xiqwqACVDQi4vSaSx7F2 |
| Raydium CPMM pool, the price source | FCidcNbQYoe24VwdkMwHeBWjdt3Jqz5Qazh7xPuMWdhV |
| Oracle account | HGjtgccRYwgvcNwrxjhSgb43UV1yr75PYpCGTKe5gz3h |
| CLP pool |
Try it: open the live app, connect a wallet or pick the built-in demo wallet, and the faucet sends test SOL and kdUSD. Every account, parameter and test card is listed in docs/devnet.md. The raw record is deployments/devnet.json.
Requirements: Node.js 22 or newer. To build and test the programs: Rust 1.89, Solana CLI 3.1.10 and Anchor CLI 1.2, in a POSIX shell (WSL on Windows).
git clone https://github.com/kadex-protocol/Kadex.git
cd Kadex
npm install
npm run typecheck # compiles the TypeScript packages the app and the scripts import
Web app against devnet. In apps/web/.env.local set NEXT_PUBLIC_KADEX_RPC_URL to a devnet RPC endpoint and NEXT_PUBLIC_KADEX_USDC_MINT to the kdUSD mint from the table above. Then:
npm run web # http://localhost:3000
Programs and tests.
npm run sync-keys # copies the program keypairs to target/deploy
npm run build:programs # deployable build, see docs/deploying.md
npm run test:rust # 185 Rust tests, no validator
npm run test:parity # TypeScript maths equals the Rust
npm run test:integration # 78 tests on a local validator
Services against devnet.
npm run keeper # refresh_price on a loop
npm run liquidator # liquidates positions below maintenance margin
Both services read the addresses from deployments/devnet.json and pay fees from the keypair named by KADEX_SERVICE_KEYPAIR. npm run dev:chain -- <wallet> boots a local validator with the programs deployed and a seeded pool. All suites: docs/testing.md.
| Path | What it holds |
|---|---|
apps/web | Next.js app: Trade, Earn, Vault, Portfolio and the API routes |
apps/keeper, apps/liquidator, apps/external-feed | The off-chain services |
programs | The Anchor programs: oracle, clp-pool, perp, card-vault |
packages | Rust crates kadex-math, kadex-risk, kadex-interface, and TypeScript packages types, sdk, oracle, collector-crypt |
deployments | Devnet addresses, the launch basket and the IDLs |
scripts | Build, devnet deployment, price mover, basket selection |
tests | Parity, history, Raydium reader, Collector Crypt and validator suites |
The documents form a graph with one entry point, docs/README.md. AI readers can start at llms.txt.
| To | Read |
|---|---|
| Understand the product | overview, users, glossary |
| See how everything connects | system map, architecture |
| Follow a flow step by step | flows |
| Look up an instruction, account or error | programs |
| Understand the price and the rules | oracle, invariants |
| Work on the web app | web app, frontend contract |
| Run the services and scripts | services |
| Find a devnet address | devnet |
deployments/basket.json| Name | Role | GitHub |
|---|---|---|
| Kauã Miguel | Fullstack dev | @Kc1t |
| Deborah Pavanelli Colicchio | Web3 developer | @eudehh |
| Pedro Henrique | Backend dev | @opedrooz |
Built for Colosseum 2026. Kadex runs on Solana devnet with test tokens. It is not affiliated with Collector Crypt or any grading company, and card images belong to their owners.
Fp2cJu1yguxGUWM1c4f8HHZJivPtH7vEHYZ9wW4hHECN| Perp market | 4Z3vkbxEYsGKBJBZJZ4xaEkjnzCEBYmwgo5aLmujB6o1 |
docs| The documentation graph |
| Build, deploy and test |
| deploying, testing |
| Check custody and keys | custody, upgrade authority |