Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

dr497/stake_srm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatically stake SRM on FTX

Every hour FTX airdrops SRM staking rewards on people staking directly from their FTX account. However, there is no option to automatically compound these tokens.

This repository allows you to automatically stake your staking rewards every hour. The code is available in Go and Python.

Project Serum

Serum is the world's first completely decentralized derivatives exchange with trustless cross-chain trading brought to you by Project Serum, in collaboration with a consortium of crypto trading and DeFi experts.

API Keys

Python

If you are using Python enter your API credentials in settings.py

API = ''
SECRET = ''
SUBACCOUNT = None

Subaccount can stay None if you are going to use your main account.

Go

If you are using Go enter your API credentials in settings.go

package main

const API = ""
const SECRET = ""
const SUBACCOUNT = "" // Leave blank if using the main account

Subaccount can stay "" if you are going to use your main account.

Deploy with Docker

The app is available in Go and Python, both can be deployed with Docker

Go

docker build -t user/stake_srm_go .  
docker run -d --restart always user/stake_srm_go:latest

Python

docker build -t user/stake_srm_python .  
docker run -d --restart always user/stake_srm_python:latest

About

Automatically stake SRM on FTX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published