/drand-relay-twitter

🐦 An experimental drand relay that tweets randomness beacons to Twitter.

Primary LanguageGoOtherNOASSERTION

drand-relay-twitter

A drand relay that tweets randomness beacons to Twitter.

Usage

drand-relay-twitter run [arguments...]

Note: at minimum you'll need to specify a HTTP, gRPC or libp2p pubsub drand endpoint to relay from.

Example

drand-relay-twitter run --hash 8990e7a9aaed2ffed73dbd7092123d6f289930540d7651336225dc172e51b2ce --url http://api.drand.sh --url http://api2.drand.sh --url http://api3.drand.sh --url https://drand.cloudflare.com

Prerequesites

Credentials

Ensure Twitter credentials file is in ~/.twitter/CREDENTIALS - it should look like:

<Twitter API key>
<Twitter API secret>
<Twitter access token>
<Twitter access token secret>

Contribute

Feel free to dive in! Open an issue or submit PRs.

License

This project is dual-licensed under Apache 2.0 and MIT terms: