Skip to content

cwalinapj/Online_marketing_NN_token

Repository files navigation

DACIT MVP

DACIT is a Solana devnet MVP for staking a custom token from a web dashboard. This repo now contains:

Current UI

DACIT devnet dashboard

MVP Status

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 StakeState accounts
  • live participant table merged from StakeState and FaucetState accounts
  • CI for Python, Rust, and frontend build checks

Deployed devnet program:

  • Program ID: BHd8TSJu2GF5MntXPSsYrtderZYc4UGXzrVLj9GPoeh1
  • Upgrade authority: B5wjX4PdcwsTqxbiAANgmXVEURN1LF2Cuijteqrk2jh5

Quick Start

Frontend:

cd frontend
npm install
cp .env.example .env.local
npm run dev

Then open http://127.0.0.1:3000.

Python CLI:

python -m venv .venv
source .venv/bin/activate
pip install -e .
dacit-docs

Rust checks:

cargo check
anchor build

Repo Layout

Online_marketing_NN_token/
├── .github/workflows/ci.yml
├── Anchor.toml
├── Cargo.toml
├── docs/
├── frontend/
│   ├── app/
│   ├── components/
│   ├── utils/
│   └── package.json
├── programs/
│   └── dacit_program/
├── src/
│   └── dacit/
└── tests/

Notes

  • 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_CLUSTER
    • NEXT_PUBLIC_SOLANA_RPC_ENDPOINT
    • NEXT_PUBLIC_DACIT_PROGRAM_ID
  • anchor deploy successfully 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.

References

About

This is the Web Hosting/Online marketing Do-it all box

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors