Skip to content

Latest commit

ย 

History

History
142 lines (95 loc) ยท 3.88 KB

File metadata and controls

142 lines (95 loc) ยท 3.88 KB

๐Ÿง  Argumint โ€“ Debate. Persuade. Win.

Argumint is a gamified debate platform where users dive into lively, opinion-driven battles like:

  • Spiderman vs Hulk
  • Is a hotdog a sandwich?
  • Taylor Swift vs Kanye?

Pick your side. Join the live chat. Persuade the enemy. Switch teams or stay loyalโ€”every move counts.


๐ŸŽฎ Gameplay Mechanics

  • ๐Ÿ’ฌ Live Debates: Join themed chat rooms based on fandom topics.

  • โ†บ Switching Sides: Players can switch teams during the debateโ€”but only if convinced by an opposing player.

  • ๐Ÿ“ˆ Points System:

    • +1 point: Stay loyal through the debate.
    • +3 points: Successfully convert someone from the opposing team.
  • ๐Ÿ† Victory: The team with the highest score wins.

  • ๐Ÿฑ Rewards: Winners earn NFTs unlocking perks, discounts, and rewards.


๐Ÿ” On-Chain Logic

  • To switch teams, a user must:

    1. Sign a transaction (wallet-authenticated).
    2. Paste the address of the opposing debater who convinced them.
  • An on-chain verifier agent checks:

    • Transaction validity
    • Argument quality heuristics (coming soon)

๐Ÿ’ป Tech Stack

Layer Tech Used
Frontend Next.js, Tailwind CSS
Backend Node.js, Express, Prisma ORM
Smart Contracts Solidity, Foundry (Forge), Etherlink
Wallet & Auth Sequence, Ethers.js
Indexing Goldsky
DB PostgreSQL
Infra Vercel / Railway / Infura / TBD
Misc Typescript, dotenv, ESLint

๐Ÿš€ Getting Started (For Devs)

git clone https://github.com/your-org/argumint.git
cd Argumint

# Install frontend dependencies
cd frontend
npm install

# Install backend dependencies
cd ../backend
npm install

# Install forge dependencies
cd ../contracts
forge install
forge build 

Note: Remember to set up your .env files with keys for:

  • PostgreSQL
  • Contract addresses

๐Ÿ“ธ Screenshots

WhatsApp Image 2025-08-04 at 16 22 22_c595470c WhatsApp Image 2025-08-04 at 16 23 27_47da9975 WhatsApp Image 2025-08-04 at 16 24 05_6ba74e6c


๐Ÿงช Testing

# Backend
cd backend
npm run test

# Frontend unit
cd ../frontend
npm run test

# Smart contract
cd ../contracts
forge test

โœจ Contributing

We love PRs! Open an issue, fork the repo, and contribute. Please follow our style guide (eslint + prettier configured).


๐Ÿ“œ License

MIT ยฉ Argumint Labs


Argumint โ€“ Where debates become battles. And your opinions? Blockchain-worthy.


โœจ Why Etherlink?

We chose Etherlink as our smart contract platform because:

  • โœ… Low Fees: Makes micro-interactions like team switching and reward claims inexpensive.
  • โฑ๏ธ Fast Finality: Ensures real-time chat-linked updates are validated near instantly.
  • โš–๏ธ EVM Compatibility: Seamless Solidity + Forge development and deployment.
  • ๐Ÿซถ Better UX: Better fit for interactive and dynamic dApps like ours that depend on low-latency on-chain feedback.

๐Ÿ“Š Why Goldsky?

We use Goldsky for indexing debate events and user interactions:

  • โœ๏ธ Custom GraphQL APIs for fast leaderboard and conversion analytics.
  • ๐Ÿš€ Real-Time Sync with on-chain events (e.g., switches, score updates).
  • ๐Ÿ” Optimized Queries for rendering debate room dynamics smoothly.

Goldsky enables us to build a snappy, analytics-rich frontend experience over a fully on-chain backend.