// SYSTEM_LOG_ENTRY_20250420● DECRYPTED
Solana Smart Contract Betting dApp — Anchor + Rust
SolanaAnchorRustWeb3

Solana Smart Contract Betting dApp — Anchor + Rust

AUTHOR: ADITYA_PANDEY // A full-stack decentralized betting dApp on Solana. Smart contract in Rust + Anchor, frontend in Next.js.

TL;DR: Built a decentralized betting dApp using Solana + Anchor. On-chain logic handles market creation, bets, resolution, and payouts; frontend uses Next.js and Phantom wallet.

What I built

  • On-chain: Anchor program in Rust that manages markets, bets, and payouts
  • Frontend: Next.js + TanStack Query for fetching on-chain state
  • Wallet: Phantom + Solana Wallet Adapter
  • Next features: leaderboard, Chainlink automation, possible NFT rewards for winners

Tech stack

Solana · Anchor · Rust · TypeScript · Next.js · TanStack Query

Repo & demo

  • Repo: https://github.com/Adityaadpandey (see solana repos / links on profile). :contentReference[oaicite:4]{index=4}
  • Notes: smart contract code includes on-chain tests and Anchor workspace config.
// END_OF_TRANSMISSION</ EXIT_SYSTEM_LOG >