Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 504 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 504 Bytes

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