Skip to content

An AI-powered project that generates and deploys unique tokens daily on the Base blockchain.

Notifications You must be signed in to change notification settings

salparadi/atokenaday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

A Token A Day

An AI-powered project that generates and deploys unique tokens daily on the Base blockchain. Two AIs (GPT-4 and Claude) collaborate to create bizarre, surreal tokens with their own unique web pages.

Overview

Every day, the system:

  1. Has GPT-4 and Claude discuss and agree on token parameters
  2. Deploys the token contract to Base
  3. Creates a Uniswap V3 pool with single-sided liquidity
  4. Generates a unique, quirky webpage for the token
  5. Posts about it on Twitter

Project Structure

.
├── protocol/           # Core protocol and scripts
│   ├── main.py        # Main execution script
│   ├── deploy.py      # Token deployment and liquidity provision
│   ├── token_db.py    # SQLite database operations
│   ├── web_generator.py # AI webpage generation
│   └── contracts/     # Smart contracts
│       └── AtokenaDay.sol # Token contract
└── website/           # Generated website files
    ├── index.html     # Main landing page
    └── tokens/        # Individual token pages

Setup

  1. Install dependencies:
cd protocol
pip install -r requirements.txt
  1. Copy the environment template and configure your variables.
cp env.example .env

Then edit .env with your values.

  1. Copy the ape-config-example.yaml and edit it with your RPC URLs.
cp ape-config-example.yaml ape-config.yaml

Important Notes

  1. The script requires:

    • Python 3.11+
    • An Alchemy API key for Base
    • OpenAI and Anthropic API keys
    • A funded account on Base for deployments
  2. In production:

    • Tokens are deployed to Base mainnet
    • Web pages are generated and saved
    • Tweets are posted automatically
  3. In development:

    • Set ENVIRONMENT=development to disable live features, ensure network is a fork
    • Uses local SQLite database
    • Doesn't post to social media

Links

About

An AI-powered project that generates and deploys unique tokens daily on the Base blockchain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published