Welcome to the Gainvest Documentation. Here you’ll find all the resources you need to participate in the Gainvest ecosystem as a user, miner, or developer.
Read the Gainvest whitepaper to understand our vision, protocol design, and Proof of Thought mechanism.
Our full codebase is open-source and available on GitHub:
Gainvest exposes a simple, developer-friendly REST API for all core functions:
POST /mine
: Submit a prompt + wallet to mine GNV tokens.POST /transfer
: Transfer GNV between wallets.GET /balance/<wallet>
: Query wallet balance.GET /supply
: Query total circulating supply.GET /blocks
: Get block history.POST /dao/vote
: Submit a DAO vote.POST /dao/register_model
: Register a mining-eligible model.Example API call:
curl -X POST https://mainnet.gainvest.ai/mine \ -H "Content-Type: application/json" \ -d '{"wallet": "gnv1xyz...", "prompt": "Hello Gainvest!"}'
Anyone can visit gainvest.ai and start interacting with our AI chat interface to mine GNV tokens. Simply connect your Keplr wallet and submit your first prompt!
Miners earn GNV tokens by submitting prompts that result in meaningful AI outputs. Each prompt/output interaction is recorded as a block on-chain and rewards are distributed instantly.
Developers can:
/dao/register_model
(100 GNV stake required).For integration assistance, contact us at nashid@gainvest.ai.