_ _ _ _
__| | ___ __ _ __| |___| |__ ___ | |_
/ _` |/ _ \/ _` |/ _` / __| '_ \ / _ \| __|
| (_| | __/ (_| | (_| \__ \ | | | (_) | |_
\__,_|\___|\__,_|\__,_|___/_| |_|\___/ \__|
( Ο_<)οΈ»β»β³βββδΈ - - - - - - - - - - - - π₯
A terminal based trading bot
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.
- Polygon
- Binance Smart Chain
- Fantom
- Cronos
- 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.
The newest release can always be found here.
$ yay -S deadshot-bin
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
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
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
- Download the archive and unzip it
- Open a terminal in the folder with right click -> "Open Terminal"
The bot can be started with ./deadshot
- Download the archive and unzip it
- Open a terminal in the folder with right click -> "Open Terminal"
The bot can be started with ./deadshot
- Download the archive and unzip it
- Go to the folder with the program in it
- 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.
Clone the repository
$ git clone https://github.com/jon4hz/deadshot && cd deadshot
Build the software
$ go build -o deadshot cmd/deadshot/main.go
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.
- 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