Giter VIP home page Giter VIP logo

safepi's Introduction

SafePi

SafePi is a Python based tracking tool for Safemoon, aimed to be run on a Raspberry Pi with GPIO displays. It connects to gate.io and pulls your Safemoon balance from BscScan.

alt text

Support Me

Thanks for checking out SafePi. It would be great to have your support in any way possible. Crypto donations, or a coffee to keep me coding are always welcome!

BTC Donations Welcome: 3Fy8MVbx35zMrBnTP6rJt1Cb7fwS4NacvA

Or buy me a coffee: https://ko-fi.com/aCallum

Prerequisites:

  1. Almost any RaspberryPi (with GPIO support):
  2. Any SPI/I2C GPIO display:
  3. SD Card 8GB or higher -- image it with Raspberry Pi OS Lite
  4. Power Cable & Charger/Battery Bank

Build the Device:

  1. Burn the OS in SD Card with Raspberry Pi Imager
  2. Connect the display to Pi GPIO Pins
  3. Plug in Power
  4. Install OS
  5. Enable SPI in Raspi Config
    • sudo raspi-config
    • select Interface Options > SPI > Yes
  6. Reboot the Pi
    • sudo reboot now

Software & Install:

  1. Get a BscScan API Key
  2. Get your Safemoon Wallet Address (via Trust Wallet/Pancake Swap)
  3. Install Python3, Git, and SPI
    • sudo apt-get update
    • sudo apt-get install python3-pip
    • sudo apt-get install python3-pil
    • sudo apt-get install python3-numpy
    • sudo pip3 install RPi.GPIO
    • sudo pip3 install spidev
    • sudo pip3 install ccxt
    • sudo pip3 install schedule
    • sudo apt-get install git
  4. clone this project to RaspberryPi
  5. Edit config.py in nano or other text editor and add your keys from BscScan API
    • nano SafePi/config.py
    • or open with text editor
    • Then fill in the API Key and Safemoon Wallet Address
    • Leave the Safemoon Contract Address as default

Run

  1. Change to project folder
    • cd SafePi
  2. Run it with Python3
    • sudo python3 main.py

Support Me

Thanks for checking out SafePi. It would be great to have your support in any way possible. Crypto donations, or a coffee to keep me coding are always welcome!

BTC Donations Welcome: 3Fy8MVbx35zMrBnTP6rJt1Cb7fwS4NacvA

Or buy me a coffee: https://ko-fi.com/aCallum

safepi's People

Contributors

acallum 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.