DACIT is a Solana devnet MVP for staking a custom token from a web dashboard. This repo now contains:
- a live Anchor program under
programs/dacit_program/ - a runnable Next.js frontend under
frontend/ - a small Python docs CLI under
src/dacit/ - supporting product and architecture notes under
docs/
Working now:
- wallet connect in the web UI
- first-run program initialization on devnet
- automatic associated token account creation
- public faucet claims for non-authority wallets
- authority faucet minting for the deploy authority
- staking
- unstake plus reward claim
- live devnet dashboard metrics for program status, minted supply, staked supply, and connected wallet state
- live top-stakers view from
StakeStateaccounts - live participant table merged from
StakeStateandFaucetStateaccounts - CI for Python, Rust, and frontend build checks
Deployed devnet program:
- Program ID:
BHd8TSJu2GF5MntXPSsYrtderZYc4UGXzrVLj9GPoeh1 - Upgrade authority:
B5wjX4PdcwsTqxbiAANgmXVEURN1LF2Cuijteqrk2jh5
Frontend:
cd frontend
npm install
cp .env.example .env.local
npm run devThen open http://127.0.0.1:3000.
Python CLI:
python -m venv .venv
source .venv/bin/activate
pip install -e .
dacit-docsRust checks:
cargo check
anchor buildOnline_marketing_NN_token/
├── .github/workflows/ci.yml
├── Anchor.toml
├── Cargo.toml
├── docs/
├── frontend/
│ ├── app/
│ ├── components/
│ ├── utils/
│ └── package.json
├── programs/
│ └── dacit_program/
├── src/
│ └── dacit/
└── tests/
- The frontend uses the checked-in local IDL at
frontend/utils/idl/dacit_program.json. - Frontend network/program settings are environment-driven via:
NEXT_PUBLIC_SOLANA_CLUSTERNEXT_PUBLIC_SOLANA_RPC_ENDPOINTNEXT_PUBLIC_DACIT_PROGRAM_ID
anchor deploysuccessfully deployed the binary to devnet, but Anchor’s optional on-chain IDL account creation still fails in this environment. The app does not depend on that on-chain IDL account.- The public faucet is intentionally capped and cooldown-limited for devnet MVP use.
- The dashboard is now documentation-aligned with the live app: the KPI row, chart area, and participant table all read from actual devnet program state rather than placeholder marketing data.
- Developer overview:
docs/developers.md - Investor overview:
docs/investors.md - Whitepaper:
docs/whitepaper.md
