kesar / twitbot

๐Ÿฆ‰Just a simple twitter bot for tipping in EOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿฆ‰ twitBot

twitBot is a simple bot in node to tip users in twitter. ( https://twitter.com/EosTwitbot )

๐Ÿ“Œ Getting Started

$ git clone git@github.com:kesar/twitbot.git
$ cd twitbot/app
$ npm install

๐Ÿ“Œ Configuration

Copy twitter.yml.dist into twitter.yml and change your information.

๐Ÿ“Œ Contracts

Under folder contracts/ you will find the contracts that the bot is using.

๐Ÿ“Œ Call examples with cleos

cleos get table twitbot twitbot accounts
cleos push action eosio.token transfer '[ "eosio", "twitbot", "0.1000 EOS", "kesarito" ]' -p eosio
cleos push action twitbot tip '{"from_twitter": "kesarito", "to_twitter": "kesarito2", "quantity": 5}' -p twitbot
cleos push action twitbot claim '{"from_twitter": "kesarito", "to_eos": "eosio"}' -p twitbot
cleos push action twitbot withdraw '{"from_twitter": "kesarito", "to_eos": "kesarito"}' -p twitbot

About

๐Ÿฆ‰Just a simple twitter bot for tipping in EOS


Languages

Language:JavaScript 39.8%Language:C++ 30.2%Language:CMake 30.0%