- Index server: https://github.com/memocash/index
- Twitter API key: https://developer.twitter.com/en/docs/basics/authentication/guides/access-tokens.html
Put in ./config.yaml
:
BOT_SEED: hotel obvious agent lecture gadget evil jealous keen fragile before damp clarify
TWITTER_CREDS:
USER_NAME: TwitterUser
PASSWORD: password1234
go build
Must fund address first
# ./tweet transfertweets <private_key> <twitter_handle>
./tweet transfertweets KyE5L74NaxjFvSdgLthaozgsudui1KVCj3DnXkZfcMxaR4uXLsE8 elonmusk
# ./tweet getnewtweets <private_key> <twitter_handle>
./tweet getnewtweets KyE5L74NaxjFvSdgLthaozgsudui1KVCj3DnXkZfcMxaR4uXLsE8 elonmusk
./tweet bot run
Then send memos with at least 5,000 sats in funds to bot address to control bot. You'll need more if you use the --history flag. Some examples:
CREATE TWITTER elonmusk
CREATE TWITTER elonmusk --history