Overview
Lodicoin is a decentralized social protocol that turns influence and onboarding into measurable, on-chain value. Creators and communities form squads that earn $LODI by verifiably bringing real users into Web3 ecosystems. Instead of proof-of-work, Lodicoin uses a social-mining model called Proof-of-Onboarding (PoO) to reward authentic growth.
Benefits
- Transparent rewards for verifiable actions
- Portable reputation across squads and apps
- Wallet-first login with nonce protection
- On-chain proof of influence and conversion
- Leaderboards and fair payout curves
- APIs to track campaign ROI in real time
- Composable proof standard for onboarding
- Lower CAC via verified referrals
- Open governance over reward parameters
System Architecture
- Frontend: Next.js + Tailwind + shadcn/ui
- Backend API: Node.js (Fastify) + TypeScript SDK
- Chain: Solana program with Anchor
- Indexing: Custom indexer + WebSocket events
- Storage: Arweave/IPFS for immutable artifacts
- Database: Postgres + Prisma
- Deployment: PM2 behind Apache reverse proxy
Lifecycle Flow
User completes quest - Wallet verifies signature - API validates - On-chain proof stored - LODI emitted - Leaderboards refresh
Proof-of-Onboarding (PoO)
A PoO event represents a verifiable onboarding linked to a referrer (squad/creator).
function recordOnboard(referrer, newUser) {
assert(isVerified(referrer));
assert(!hasJoinedBefore(newUser));
const score = computeScore(referrer, newUser); // quality + anti-sybil
mintLODI(referrer, score * RATE);
updateReputation(referrer, score);
emit("Onboard", { referrer, newUser, score });
}Smart Contract Modules
- ProofRegistry: stores onboarding proofs and emits events
- SquadFactory: creates squad PDAs and bindings
- RewardVault: mints/streams
$LODIto referrers - ReputationOracle: computes quality + anti-sybil
- Governance: param changes via proposals/votes
SDK and API
The JS/TS SDK wraps the REST API, signer flows, and Solana interactions.
import { LodiClient } from '@lodicoin/sdk-js'
const client = new LodiClient({ endpoint: 'https://dapp.lodicoin.net/api' })
const proof = await client.submitProof({
referrer: 'CREATOR_PUBKEY',
user: 'USER_PUBKEY',
platform: 'telegram',
questType: 'join_channel',
signature: 'base58sig'
})
console.log('txId', proof.txId)curl -X POST https://dapp.lodicoin.net/api/proof \
-H 'Content-Type: application/json' \
-d '{
"referrer":"CREATOR_PUBKEY",
"user":"USER_PUBKEY",
"platform":"telegram",
"questType":"join_channel",
"signature":"base58sig",
"nonce":"12345",
"ts": 1730796800
}'Tokenomics
- Ticker: $LODI
- Type: SPL Token (Solana)
- Distribution: Fairlaunch — no presale/VC
- Supply: Elastic emission via PoO
- Treasury: DAO-controlled multisig
Governance and DAO
Reputation-weighted voting with anti-whale dampening.
contract Governance {
mapping(address => uint) public reputation;
function propose(bytes calldata change) public onlyVerified { /*...*/ }
function vote(uint id, bool support) public { /*...*/ }
}Integration Guides
// Verify user and post quest proof /bind_wallet <pubkey> /verify_join @lodicoin_channel
/lodi link-wallet /lodi verify-role @squad
Security Practices
- Ed25519
signMessage+ nonce TTL - Strict schema validation
- Defense-in-depth (limits/anomaly detection)
- DAO bug bounty
Roadmap
- Phase 1: dApp launch, creator verification, leaderboard
- Phase 2: Cross-platform quests and scoring oracles
- Phase 3: DAO governance, staking multipliers
- Phase 4: Multi-chain interoperability
FAQ
How do creators earn $LODI?
By bringing verified users through quests/campaigns. Rewards scale with quality signals like retention.
Can anyone form a squad?
Yes. Connect wallet, pass basic checks, mint a squad identity, then start quests.
Is Lodicoin open source?
Yes. Frontend, API, and SDKs are MIT-licensed. Programs will be verified on-chain.