A Dogecoin tipping bot for Slack
-
Install dogecoind on your server
-
Usually this is done on linux by building from source
-
Be sure to edit dogecoin.conf to set your rpcuser and rpcpassword
-
Launch dogecoind -daemon and wait for the blockchain to sync
-
Clone this repo on your server
-
run
bundle install
-
Set up the Slack integration: as an "outgoing webhook" (https://example.slack.com/services/new/outgoing-webhook)
-
Write down the api token they show you in this page
-
Set the trigger word: we use "dogetipper" but doesn't matter what you pick
-
Set the Url to the server you'll be deploying on http://example.com:4567/tip
-
Launch the server!
DOGECOIN_USER=rpcuser DOGECOIN_PASSWORD=rpcpassword SLACK_API_TOKEN=YOURSLACKTOKENHERE bundle exec ruby tipper.rb -p 4567
-
Tip - send dogecoin!
dogetipper tip @somebody 100
dogetipper tip @somebody random
-
Deposit - put dogecoin in
dogetipper deposit
-
Withdraw - take dogecoin out
dogetipper withdraw DKzHM7rUB2sP1dgVskVFfdSoysnojuw2pX 100
-
Balance - find out how much is in your wallet
dogetipper balance
-
Networkinfo - Get the output of getinfo. Note: this will disclose the entire aggregate balance of the hot wallet to everyone in the chat
dogetipper networkinfo