Giter VIP home page Giter VIP logo

twitbot's Introduction

πŸ¦‰ twitBot

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

πŸ“Œ Getting Started

$ git clone [email protected]: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

twitbot's People

Contributors

asiniscalchi avatar kesar avatar ukarlsson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

twitbot's Issues

catch eosjs errors

we may need to catch & log possible errors when calling eos nodes. (twitter.js)

What is the use of switch(act).. EOSIO_API?

What is the use of the below lines?
I tried to copy the logic, but it seems only error during .wast file generation.

switch (act) {
EOSIO_API(twitbot, (tip)(withdraw)(claim))
};

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.