/twitter-bot

Twitter Bot that publishes new registrations on Potlock and Direct Donations

Primary LanguageTypeScriptMIT LicenseMIT

Configuration

Copy .env.example to .env.local and fill in the values.

Edit src/config.ts to change tweet frequecies, minimum donation amount, start blockheight

How to run

# Install bun
curl -fsSL https://bun.sh/install | bash # for macOS, Linux, and WSL

bun install

# dev, simulates tweets to console
bun run dev

# Create .env.local and get oauth-1.0a credentials from twitter developer portal
cp .env.example .env.local

# prod, sends tweets to bot
bun run build
bun run start