Oracle3
Oracle3: 예측시장 거래 엔진·MCP 서버
KAI는 Avalanche 기반 DeFi 은행 인프라로, 중소기업·지역 조직·일반 아프리카인을 위한 금융 운영 시스템
KAI is a DeFi Banking Infrastructure built on Avalanche — a Financial Operating System for SMEs, Community-Based Organisations, and everyday Africans.
금융TypeScript · HTMLGitHub @Drekahshi온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
🌿 KAI Nuvari — Avalanche DeFi Ecosystem
Real on-chain AMM, yield vaults, agent rails & an AI copilot — on Avalanche Fuji C-Chain.
KAI Nuvari is a full-stack open-finance platform that combines three layers into one product:
It's built to feel like a bank + exchange + AI analyst in one wallet.README 전문 보기 ↗Real on-chain AMM, yield vaults, agent rails & an AI copilot — on Avalanche Fuji C-Chain.
Running now → https://avax-frontend-seven.vercel.app/
KAI Nuvari is a full-stack open-finance platform that combines three layers into one product:
| Layer | What it does | Where it lives |
|---|---|---|
| 🖥️ Next.js app | The whole consumer dApp — vaults, pools, swap, payments, voice assistant | avax-frontend/ |
| 🕸️ On-chain AMM & agent rails | Real ERC-20 swaps, LP pools, yield vaults, escrow & identity contracts | contracts/ + ignition/ |
| 🤖 AI Agent API | 20+ agent endpoints (RAG chat, portfolio, DIDs, x402 payments, onboarding) | server.py (FastAPI + Needle) |
It's built to feel like a bank + exchange + AI analyst in one wallet.
avax-frontend/)KaiAMM / KaiPool on Fuji (wagmi + viem)GET /health — engine + RAG readiness probePOST /chat, /stream — RAG Q&A over the KAI docs/web corpus/needle/complete · /needle/stream · /needle/intent — Needle (on-device) LLM inferencetx-analyst, portfolio, audit, dao-draft, pricing, policy, codegen, summarize, pools (IL risk), yields/agents/identity/*)/agents/x402/*)| Contract | Purpose |
|---|---|
NuvariToken.sol | ERC-20 governance / ecosystem token |
KaiVault.sol | Yield vault (deposit / withdraw, share price, APY) |
KaiPool.sol | x*y=k constant-product LP pool |
KaiAMM.sol | AMM router + liquidity manager + pool factory registry |
KaiEscrow.sol | On-chain escrow for agent-driven deals |
KaiAgentRegistry.sol | Registry of on-chain agent identities |
KAIAirdropVault.sol | Token airdrop vesting vault |
ConservationNFT.sol | Nature-backed NFT (RWA) |
Each contract ships with forge-std Solidity unit tests (*.t.sol).
| Language | Where |
|---|---|
| TypeScript | Next.js app, wagmi/viem client code, Hardhat config & scripts |
| JavaScript (CJS/ESM) | Hardhat deploy scripts (deploy-all-fuji.mjs), ecosystem token deploys |
| Solidity | Smart contracts + Foundry-style Solidity tests |
| Python | FastAPI backend, Needle agent, vector/RAG indexing |
| SQL | Prisma schema → Neon Postgres (kai_users, kai_wallets, …) |
| CSS / Tailwind v4 | Design system (globals.css), fluid glassmorphism UI |
| JSON | Deploy artifacts, ABI definitions, token registries |
| Markdown | Docs and onboarding content |
| Layer | Stack |
|---|---|
| Framework | Next.js 16 · React 19 · TypeScript |
| Blockchain | viem 2 · wagmi 3 · @avalanche-sdk/chainkit · Hardhat 3 |
| Auth | Privy (Client + Server SDK) |
| Data | Prisma · Neon Postgres |
| Payments | Paystack |
| AI | cactus-needle (on-device LLM) · Groq (RAG) · Gemini (voice orchestrator) |
| Styling | Tailwind CSS 4 · framer-motion · lucide-react |
| Extras | zustand state · html5-qrcode QR pay · tanstack/react-query |
.
├── avax-frontend/ # Next.js 16 dApp (deployed on Vercel)
│ ├── src/app/ # route-based pages (vaults, pools, pay, voice, …)
│ ├── src/components/ # UI + pools/vaults/operations widgets
│ └── prisma/ # database schema
├── contracts/ # Solidity contracts + *.t.sol tests
├── ignition/ # Hardhat Ignition deployment modules
├── scripts/ # Deploy / liquidity-seed / balance CLI scripts
├── server.py # FastAPI AI Agent API (Needle + 20+ endpoints)
├── vector.py # ChromaDB embedding index build
├── main.py # Interactive terminal RAG agent
└── hardhat.config.ts # Hardhat 3 config (Fuji network)
Copy the example env files:
cp .env.example .env # backend + hardhat keys
cp avax-frontend/.env.example avax-frontend/.env.local
Then fill in GROQ_API_KEY, GEMINI_API_KEY, DATABASE_URL, PAYSTACK_SECRET_KEY, and the PRIVY_* keys. Never commit real keys.
python -m venv .venv
.venv/bin/python -m pip install -r requirements.txt
.venv/bin/python -m uvicorn server:app --host 127.0.0.1 --port 8000 --reload
Verify: curl http://127.0.0.1:8000/health
npm --prefix avax-frontend install
npm --prefix avax-frontend run dev
Open http://localhost:3000 — the frontend talks to the agent API at :8000.
npm run build
npm run deploy:fuji # core ecosystem tokens/contracts
npx hardhat run scripts/deploy-defi.ts --network fuji
npx hardhat run scripts/seed-liquidity.mjs --network fuji
Deployed addresses land in defi-addresses.json / deployedAddresses.json, which the UI reads automatically.
:8000)| Method | Endpoint | Description |
|---|---|---|
| GET | /health | engine + RAG readiness |
| POST | /chat /stream | RAG Q&A streaming |
| GET | /agents/portfolio/{wallet} | on-chain portfolio snapshot |
| GET | /agents/pools/{pool_id} | pool position analytics |
| POST | /agents/pools/il | impermanent-loss calculator |
| POST | /agents/tx-analyst | transaction explainer |
| GET | /agents/yields | vault yield rankings |
| GET | /agents/identity/did/{did} | W3C DID resolution |
| GET | /agents/rails/log | agentic audit log |
| … | 20+ total | see server.py |
The frontend is live at:
https://avax-frontend-seven.vercel.app/
Deployment is automatic on push to main (Git + Vercel integration, vercel.json → framework: "nextjs").
Note: the AI Agent API runs locally via
server.py. For a fully serverless setup, deployserver.pyto Railway / Render / Cloud Run and setNEXT_PUBLIC_AGENT_URLin the frontend.
npm test # Hardhat (compiles + runs Solidity tests)
npx tsc --noEmit # frontend typecheck
npm --prefix avax-frontend run lint
ISC