Giter VIP home page Giter VIP logo

deadshot's Introduction

deadshot

testing lint goreleaser Go Report Card

      _                _     _           _   
   __| | ___  __ _  __| |___| |__   ___ | |_ 
  / _` |/ _ \/ _` |/ _` / __| '_ \ / _ \| __|
 | (_| |  __/ (_| | (_| \__ \ | | | (_) | |_ 
  \__,_|\___|\__,_|\__,_|___/_| |_|\___/ \__|
                                              
  ( Ο†_<)︻┻┳══━一 - - - - - - - - - - - - πŸ’₯   

A terminal based trading bot

About

deadshot is a terminal based trading bot that allows you to trade tokens on any dex that implements the uniswap v2 interface.
You can either swap tokens to the current market price or set limit orders based on price or % targets.
All trades will be made on chain.

Implemented networks

  • Polygon
  • Binance Smart Chain
  • Fantom
  • Cronos

Limitations

  • Only one buy target is supported
  • The bot relies on a good connection with unlimited requests to a blockchain node. There might be bugs and weird behavior if these conditions are not met.
    There are some nodes preconfigured for each network but I strongly advice to setup your own node.

Install

The newest release can always be found here.

Linux

aur

$ yay -S deadshot-bin

apt

Linux distributions like debian or ubuntu can use apt to install the binary

echo 'deb [trusted=yes] https://apt.fury.io/jon4hz/ /' | sudo tee /etc/apt/sources.list.d/jon4hz.list
sudo apt update
sudo apt install deadshot

yum

echo '[jon4hz]
name=jon4hz
baseurl=https://yum.fury.io/jon4hz/
enabled=1
gpgcheck=0' | sudo tee /etc/yum.repos.d/jon4hz.repo
sudo yum install deadshot

deb, rpm and apk packages

Download the .deb, .rpm or .apk package.

deb

# dpkg -i <release_name>.deb

rpm

# rpm -i <release_name>.rpm

apk

# apk add --allow-untrusted <release_name>.apk

manually

  1. Download the archive and unzip it
  2. Open a terminal in the folder with right click -> "Open Terminal"

The bot can be started with ./deadshot

MacOS

manually

  1. Download the archive and unzip it
  2. Open a terminal in the folder with right click -> "Open Terminal"

The bot can be started with ./deadshot

Windows

manually

  1. Download the archive and unzip it
  2. Go to the folder with the program in it
  3. Open a terminal in the folder with right click -> "Open in Windows Terminal"

The command .\deadshot.exe starts the bot.

If you are using Windows 10, start the bot in the Windows Terminal and not Powershell.

Build

Build dependencies

Build

Clone the repository

$ git clone https://github.com/jon4hz/deadshot && cd deadshot

Build the software

$ go build -o deadshot cmd/deadshot/main.go

Disclaimer

This bot can be used to trade cryptocurrencies. I hereby disclaim any liability and will not be held responsible for any potential losses. I wrote this bot while I learned go, so there might be bugs and mistakes in the code.

Acknowledgements

  • ethereum - obviously.
  • charmbracelet - for their charming cli tools / libs
  • goreleaser - from whom I stole some parts of the pipeline
  • many other great developers who made this bot possible

deadshot's People

Contributors

jon4hz avatar dependabot[bot] 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.