Stakeout
A command line tool that prints a history of your FLOW staking rewards (e.g. for tax purposes).
❗ 2024 Update
- I've updated the tool to pull rewards data from the Find Labs Historical API. It should now work for all epochs after November 11, 2021.
- The tool now outputs results in a simple CSV format for easy import into Excel, Google Sheets, etc.
Install
macOS and Linux
This installation method only works for macOS and Linux.
Paste this command in your macOS Terminal or Linux shell and hit enter:
sh -ci "$(curl -fsSL https://raw.githubusercontent.com/psiemens/stakeout/main/install.sh)"
Windows
This installation method only works on Windows 10, 8.1, or 7 (SP1, with PowerShell 3.0), on x86-64.
-
Open PowerShell (Instructions)
-
In PowerShell, run:
iex "& { $(irm 'https://raw.githubusercontent.com/psiemens/stakeout/main/install.ps1') }"
Usage
List rewards from all epochs
stakeout <address>
Filter rewards by year
stakeout -year=2022 <address>
Filter rewards by start and end date
stakeout -start=2021-04-01 -end=2022-04-01 <address>
Save results to a CSV file
stakeout -year=2022 <address> > rewards-2022.csv
Limitations
- The tool cannot access data from before the November 11, 2021 staking epoch.
- The tool does not print rewards transaction IDs.
Development
Run with Go
go run main.go <address>
Build
make binaries