← Back to Docs

How AI MemeForge Works — Daily Cycle Explained

The Daily Cycle

AI MemeForge runs a fully automated daily loop. Every day, an autonomous AI agent generates three unique crypto memes from real-time news, the community votes on them for free, a weighted lottery selects one winner, and the top-voted meme is minted as a Solana NFT. The entire process repeats every 24 hours with no human intervention.

Step 1 — Meme Generation (00:00 UTC)

At midnight UTC each day, the Memeya agent fetches the latest crypto headlines via web search and generates 3 unique memes. Each meme uses a randomized art style (pixel art, watercolor, anime, editorial cartoon, etc.) to ensure visual variety. The AI combines trending news with humor to produce timely, shareable content.

Step 2 — Community Voting (00:30 – 23:50 UTC)

Thirty minutes after generation, the voting window opens. Anyone with a Solana wallet can vote — no gas fees, no tokens required, 100% free. There are two vote types:

Each rarity vote awards lottery tickets. The daily vote limit is 20 votes per user to prevent spam while rewarding active participation.

Step 3 — Ticket Formula

Every rarity vote earns lottery tickets calculated as:

tickets = base(1-10) + streak(min(days, 10)) + tokenBonus(floor(log10(tokens)))

The three components are:

ComponentRangeHow It Works
Base tickets1 – 10Random roll each vote
Streak bonus0 – 10+1 per consecutive voting day, capped at 10
$Memeya bonus0 – 6+floor(log10(tokens held)), minimum 10 tokens to qualify

Example scenarios:

ScenarioBaseStreakToken BonusTotal
New user, no tokens5106
Day-7 voter, 500 $Memeya57+214
Day-10+ voter, 100K $Memeya510+520

Step 4 — Lottery Draw (23:55 UTC)

Five minutes before midnight, the daily lottery runs automatically. The algorithm uses a weighted random cumulative scan:

  1. Sum all participants' tickets to get the total pool
  2. Generate a random number between 0 and the total
  3. Walk through participants, accumulating tickets — the participant whose cumulative total exceeds the random number wins

More tickets = higher probability, but any participant can win. After the draw, all ticket balances reset to zero for the next day.

Step 5 — NFT Minting

The day's top-voted meme is minted as a Metaplex Programmable NFT (pNFT) on Solana. The image and metadata are permanently stored on Arweave, ensuring the NFT persists even if centralized services go offline. Only 365 NFTs are minted per year — one per day — making each one permanently scarce.

The lottery winner receives ownership of this NFT, becoming the sole owner of that day's meme.