Compute the fair market value (FMV) of staking rewards at time of receipt.

Overview

tendermint-tax

A tool to help calculate the tax liability of staking rewards on Tendermint chains.

Specifically, this tool calculates the fair market value (FMV) of staking rewards at time of receipt - that is, the time that you claimed the reward. It does the same for other inflows and outflows of tokens, like sending tokens to a friend.

WARNING

This software might not work

THIS IS A WORK IN PROGRESS. This is experimental software. No one else has looked at it yet. Use at your own risk.

And even if it does work...

This a tool I use to help my CPA. This is not tax advice. I am not a CPA. Use at your own risk. You have been warned.

Install

# clone this repo
git clone [email protected]:elsehow/tendermint-tax
cd tendermint-tax
# create a python virtual machine
python3 -m venv venv
source venv/bin/activate
# install the dependences
pip3 install -r requirements.txt

Use

This command will get the FMV at time of reciept for the address juno175q6smvgnuec5e62rs4chnu5cs8d98q2xgf4rx for financial year Jan 1, 2021 - Dec 31, 2021, saving the resulting file as juno.csv:

# make sure virtual machine is active
source venv/bin/activate
# run tendermint-tax
python3 tendermint-tax.py --rpc  https://rpc-juno.itastakers.com --address juno175q6smvgnuec5e62rs4chnu5cs8d98q2xgf4rx --ticker JUNO --fystart "2021-01-01" --fyend "2021-12-31" --outfile "juno.csv" -v

See detailed help on all arguments with python3 tendermint-tax.py --help.

Did this tool help you?

Did this tool save you time or money? Delegate with me!

Stake with me:

  • Juno - elsehow junovaloper175q6smvgnuec5e62rs4chnu5cs8d98q2e4l6cl
  • Stargaze - elsehow starsvaloper1hvw778wslvyxh6mmv3sy96mwnaw80elmrswc6h
  • Oasis - Daylight Network oasis1qra3rvq7y055waxmnx8rc0nad3frr8na2s9l8l3f

Or pay what you think is fair:

  • Cosmos - cosmos175q6smvgnuec5e62rs4chnu5cs8d98q2s62wy6
  • Osmosis - osmo175q6smvgnuec5e62rs4chnu5cs8d98q2cpe7jg
  • Akash - akash175q6smvgnuec5e62rs4chnu5cs8d98q2ap8faq
  • Regen - regen175q6smvgnuec5e62rs4chnu5cs8d98q20cpjj7

License

BSD-3

RapidFuzz is a fast string matching library for Python and C++

RapidFuzz is a fast string matching library for Python and C++, which is using the string similarity calculations from FuzzyWuzzy

Max Bachmann 1.7k Jan 04, 2023
A script to check for common mistakes in LaTeX source files of scientific papers.

LaTeX Paper Linter This script checks for common mistakes in LaTeX source files of scientific papers. Usage python3 paperlint.py file.tex [-i/x inc

Michael Schwarz 12 Nov 16, 2022
A script copies movie and TV files to your GD drive, or create Hard Link in a seperate dir, in Emby-happy struct.

torcp A script copies movie and TV files to your GD drive, or create Hard Link in a seperate dir, in Emby-happy struct. Usage: python3 torcp.py -h Exa

ccf2012 105 Dec 22, 2022
Michael Vinyard's utilities

Install vintools To download this package from pypi: pip install vintools Install the development package To download and install the developmen

Michael Vinyard 2 May 22, 2022
Python module and its web equivalent, to hide text within text by manipulating bits

cacherdutexte.github.io This project contains : Python modules (binary and decimal system 6) with a dedicated tkinter program to use it. A web version

2 Sep 04, 2022
A Python utility belt containing simple tools, a stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress, and more made easy!

Ubelt is a small library of robust, tested, documented, and simple functions that extend the Python standard library. It has a flat API that all behav

Jon Crall 638 Dec 13, 2022
Entropy-controlled contexts in Python

Python module ordered ordered module is the opposite to random - it maintains order in the program. import random x = 5 def increase(): global x

HyperC 36 Nov 03, 2022
API Rate Limit Decorator

ratelimit APIs are a very common way to interact with web services. As the need to consume data grows, so does the number of API calls necessary to re

Tomas Basham 575 Jan 05, 2023
A thing to simplify listening for PG notifications with asyncpg

A thing to simplify listening for PG notifications with asyncpg

ANNA 18 Dec 23, 2022
Random Name and Slug Generator

Random Name and Slug Generator

Alexander Lukanin 104 Nov 30, 2022
Report Bobcat Status to Google Sheets

bobcat-status-reporter Report Bobcat Status to Google Sheets Why? I recently relocated my miner from my root into the attic. Bobcat recommends operati

Jasmit Tarang 3 Sep 22, 2021
Extends the pyranges module with operations on joined genomic intervals

tiedpyranges Extends the pyranges module with operations on joined genomic intervals (e.g. exons of same transcript) Install with: pip install tiedpyr

Marco Mariotti 4 Aug 05, 2022
Auto-generate /etc/hosts for HackTheBox machines

Auto-generate /etc/hosts for HackTheBox machines Save yourself some tedium on getting started on a new machine by having your /etc/hosts ready to go.

3 Feb 16, 2022
Utility to extract Fantasy Grounds Unity Line-of-sight and lighting files from a Univeral VTT file exported from Dungeondraft

uvtt2fgu Utility to extract Fantasy Grounds Unity Line-of-sight and lighting files from a Univeral VTT file exported from Dungeondraft This program wo

Andre Kostur 29 Dec 05, 2022
Python program for Linux users to change any url to any domain name they want.

URLMask Python program for Linux users to change a URL to ANY domain. A program than can take any url and mask it to any domain name you like. E.g. ne

2 Jun 20, 2022
Macro recording and metaprogramming in Python

macro-kit is a package for efficient macro recording and metaprogramming in Python using abstract syntax tree (AST).

8 Aug 31, 2022
This project is a set of programs that I use to create a README.md file.

This project is a set of programs that I use to create a README.md file.

Tom Dörr 223 Dec 24, 2022
Brainfuck rollup scaling experiment for fun

Optimistic Brainfuck Ever wanted to run Brainfuck on ethereum? Don't ask, now you can! And at a fraction of the cost, thanks to optimistic rollup tech

Diederik Loerakker 48 Dec 28, 2022
Python code to generate and store certificates automatically , using names from a csv file

WOC-certificate-generator Python code to generate and store certificates automatically , using names from a csv file IMPORTANT In order to make the co

Google Developer Student Club - IIIT Kalyani 10 May 26, 2022
A simple example for calling C++ functions in Python by `ctypes`.

ctypes-example A simple example for calling C++ functions in Python by ctypes. Features call C++ function int bar(int* value, char* msg) with argumene

Yusu Pan 3 Nov 23, 2022