Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/potlock/twitter-bot

Twitter Bot that publishes new registrations on Potlock and Direct Donations
https://github.com/potlock/twitter-bot

bun near-api-js nearquery nearsocial potlock

Last synced: about 1 month ago
JSON representation

Twitter Bot that publishes new registrations on Potlock and Direct Donations

Awesome Lists containing this project

README

        

# 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

```bash
# 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

```