Stellar Slack Bot
Stroopy lets you stream transactions from the stellar network into a Slack channel!
-
git clone git@github.com:alejomendoza/stroopy.git
-
npm install
-
Create a Slack app, get the Client Id and Client Secret from the slack api dashboard page.
-
Make sure you have localtunnel running (https://localtunnel.me/) with the url set in your app credentials under redirect URI in the slack api dashboard. (Example redirect URL: https://yoursubdomain.localtunnel.me/oauth)
-
Make sure you have your Request URL for interactive messages set to (https://yoursubdomain.localtunnel.me/slack/receive).
-
CLIENT_ID=xxxxxxxx CLIENT_SECRET=xxxxxxxx PORT=3000 npm start:dev
-> streams from https://horizon-testnet.stellar.org/ -
CLIENT_ID=xxxxxxxx CLIENT_SECRET=xxxxxxxx PORT=3000 npm start
-> streams from https://horizon.stellar.org/
CLIENT_ID=xxxxxxxx CLIENT_SECRET=xxxxxxxx PORT=3000 npm test
Stream transactions: stream transactions @stroopy
Stop transactions: stop transactions @stroopy
Tip me on Stellar network: GDUNB6SGNYCGOQCNK44HGM7JXAJDCHU6ZYWUXKCI4S6UDQQ3AE7SAXBM