GithubHelp home page GithubHelp logo

own2pwn / cryptokitties-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xlanor/cryptokitties

0.0 1.0 0.0 277 KB

Telegram scanner bot for cryptokitties. Meow

License: MIT License

Python 100.00%

cryptokitties-1's Introduction

Meow

A telegram bot to scan CryptoKitties API to report on kittens with a certain desirable trait.

Will clean up more when Im free and add more options to customize the parameters.

Please take note that this was a customized bot for my colleagues, I didn't expect to receive so much traffic on it.

Feel free to take it, modify the code, run it as your own instance, improve it, bla bla.

Thanks to Python-Telegram-Bot.

Requirements

  • Python3
  • ImageMagick
  • Python Telegram Bot
  • wand
  • PyMySQL
  • web3py (You can do manual calculation for all wei->usd instead and not use this)

Sample Output

General Setup guide

  • Install dependencies

  • Setup a mysql db (reccomend you use Cryptokitties as the title)

  • put your creds in tokens file.

  • Put your bot api in the tokens file as well.

  • Create a telegram channel to use for error messages (two if you want to broadcast to a channel) and place the IDs of the channel in tokens file accordingly.

  • I'll be removing channel broadcast soon since that's mainly hardcoded for my colleagues

  • Comment out the job repeating in cryptokitties.py (the one with a value of 300)

  • Run createdb.py

  • rename tokens-sample.py to tokens.py

  • Replace filepaths in both modules.

  • go to your bot and do a /register, register yourself. (Reccomend not using a gigantic offset value)

  • Run the bot.

  • .service file is included for users on systems that use systemd, modify it accordingly.

Licensing

Licensed under the MIT license. Do whatever you want to do with it.

cryptokitties-1's People

Watchers

 avatar

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.