Phase 2 — Implementation Plan¶
Goal: Developer Experience + Private Testnet siap untuk partner internal Garuda Prime.
Gate: Phase 1 verification must pass (npm run phase1:verify).
Scope¶
| Area | Deliverable | Status |
|---|---|---|
| Private Testnet | 5 validators + RPC gateway + API key | Scripts ✅ |
| SDK | @garuda-chain/sdk build + docs + examples |
Partial |
| REST API | /api/v1/* + GraphQL + OpenAPI |
Partial |
| Faucet | Private restricted + honeypot anti-bot | In progress |
| Docs | Partner onboarding + private testnet guide | In progress |
| Deploy | phase2:build + phase2:verify |
In progress |
Commit Order¶
| # | Scope | Files |
|---|---|---|
| 1 | Phase 2 scripts | scripts/phase2/build-all.sh, verify.sh |
| 2 | npm scripts | package.json → phase2:build, phase2:verify |
| 3 | Developer docs | docs/developer/private-testnet-onboarding.md |
| 4 | Faucet hardening | apps/faucet/src/index.ts — honeypot + captcha env |
| 5 | Roadmap update | docs/roadmap.md, mkdocs.yml nav |
| 6 | Contract deploy | npm run contracts:deploy:private on running network |
Quick Start (Phase 2)¶
# 1. Verify Phase 1 artifacts
npm run phase1:verify
# 2. Build SDK + refresh docs
npm run phase2:build
# 3. Start private testnet
npm run private:up
# 4. Deploy contracts
cp .env.private-testnet .env # if needed
npm run contracts:deploy:private
# 5. Start developer stack
npm run dev:api
npm run dev:faucet
npm run dev:explorer
# 6. Verify Phase 2
npm run phase2:verify
Partner Onboarding Checklist¶
- Tambah wallet partner →
chain/config/private-testnet/allowlist.json - Generate API key → dokumentasi di private-testnet-onboarding.md
- Bagikan RPC gateway URL + key + MetaMask config
- Arahkan ke SDK docs + faucet (restricted)
Phase Gate → Phase 3¶
Do NOT start public testnet production until:
npm run phase2:verify— all ✅- Private testnet contracts deployed (GAT address filled)
- Partner QA completed on private testnet
- Faucet abuse controls tested (honeypot / rate limit)
Next: phase-3-public-testnet.md — public RPC, public faucet 500 GAT/24h.