Giter Club home page Giter Club logo

sys's Introduction

Sell Your ◎

This program provides tracking from acquisition through disposal of SOL from staking, voting, and validator transaction fee/rent rewards. The intended audience for this program is:

  1. Solana Valiators that need to track voting and transaction fee/rent rewards
  2. Solana Stakers that need to track staking rewards

This program does not attempt to be a general propose crypto trading tracker. It's assumed that once you sell your SOL for USD on an exchange of your choice, you'd switch to other existing solutions for further trading/transactions.

Quick Start

  1. Install Rust from https://rustup.rs/
  2. cargo run

You can also run ./fetch-release.sh to download the latest Linux and macOS binary produced by Github Actions.

Features

  • Exchange integration with FTX, FTX US, Binance and Binance US
    • Fetch market info, SOL balance and sell order status
    • Deposit from a vote, stake or system account
    • Initiate and cancel basic limit orders
  • Automatic epoch reward tracking for vote and stake accounts
  • Validator identity rewards are also automatically tracked at the epoch level, but not directly attributed to each individual block that rewards are credited
  • Lot management for all tracked accounts, through the disposal of SOL via an exchange sell order
  • A sweep stake account system, whereby vote account rewards can be automatically sweeped into a stake account and staked as quickly as possible
  • Historical SOL price information via CoinGecko
  • Data is contained in a local sell-your-sol/ subdirectory that can be easily backed up, and is editable by hand if necessary
  • Excel export

Examples

TODO...

For now please explore the help system, sys --help. It aims to be self explanatory.

Limitations

  • No FMV discount is computed for locked stake rewards
  • Accounts under sys management should not be manipulated outside of sys. For example sys will get confused if you split some stake using the solana command-line tool, and probably assert
  • You may have to write code to fix bugs or implement new features that are not required in my workflow

sys's People

Contributors

dmakarov avatar mvines avatar

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.