Python script to download WAX transactions

Overview

WAXtax

Python script to download WAX transactions

WAXtax uses the CoinGecko API and the WAX Blockchain History API to download csvs for each account you specify. Depending on the number of transactions you have, this could a significant amount of time to run.

Windows Tutorial
MacOS tutorial pending

Installation:

  • Requires Python 3.8 or higher (although should theoretically run in Python 3.7, but I haven't tested this yet)
  • This project uses Poetry for package management, so you can use Poetry to install all dependencies.

Installing Poetry

In a terminal/command prompt/powershell/etc window:

pip install --user poetry

Installing Dependencies

Inside the WAXTax directory, run

poetry install --no-dev

(--no-dev leaves out the development dependencies.)

Usage:

Setting up configuration

Edit the configuration file to suit your wallets/date range. See config.yaml as an example.
accounts - list of accounts to check
contract - token contract, only supports eosio.token:transfer (WAX Transfers) at the moment
date-range - dates in ISO format and UTC+00 timezone, "YYYY-MM-DDTHH:MM:SS" <- Note the quotation marks
currency - Currency code to convert WAX price to. See the list of supported codes here
export-folder - Name of folder to store exported transactions in
endpoints - API endpoints to try to get transactions from. Caution! Different endpoints may produce different results, based on how up-to-date the API is.

Downloading Transactions

Inside the WAXtax directory, run

poetry run waxtax

Help/Problems

If you encounter any problems, open an issue or ask for help in the SixPM Software Discord

You might also like...
A Python package that can be used to download post and comment data from Reddit.

Reddit Data Collector Reddit Data Collector is a Python package that allows a user to collect post and comment data from Reddit. It is built on top of

Download song lyrics and metadata from Genius.com 🎶🎤

LyricsGenius: a Python client for the Genius.com API lyricsgenius provides a simple interface to the song, artist, and lyrics data stored on Genius.co

A simple telegram bot to download from Zee5 links

Zee5 Downloader If you find any bugs, report at @TroJanzSupport My Features: 👉 Upload as file/video from any NON-DRM Zee5 link 👉 Permanent thumbnail

Command-line program to download videos from YouTube.com and other video sites

youtube-dl - download videos from youtube.com or other video platforms INSTALLATION DESCRIPTION OPTIONS CONFIGURATION OUTPUT TEMPLATE FORMAT SELECTION

Command-line program to download image galleries and collections from several image hosting sites

gallery-dl gallery-dl is a command-line program to download image galleries and collections from several image hosting sites (see Supported Sites). It

Download videos from Youtube and other platforms through a Telegram Bot
Download videos from Youtube and other platforms through a Telegram Bot

ytdl-bot Download videos from YouTube and other platforms through a Telegram Bot Usage: https://t.me/benny_ytdlbot Send link from YouTube directly to

Tools to download and aggregate feeds of vaccination clinic location information in the United States.

vaccine-feed-ingest Pipeline for ingesting nationwide feeds of vaccine facilities. Contributing How to Configure your environment (instructions on the

Telegram bot to download almost all from Instagram

Instagram Manager Bot The most advanced Instagram Downloader Bot. Please fork this repository don't import code Made with Python3 (C) @subinps Copyrig

Telegram PHub Bot using ARQ Api and Pyrogram. This Bot can Download and Send PHub HQ videos in Telegram using ARQ API.

Tg_PHub_Bot Telegram PHub Bot using ARQ Api and Pyrogram. This Bot can Download and Send PHub HQ videos in Telegram using ARQ API. OS Support All linu

Comments
  • Simplifying the usage of WAXtax

    Simplifying the usage of WAXtax

    This update removes the attempt at poetry command integration in favour of allowing WAXtax to be called in a more common way via

    python -m poetry run python waxtax

    or

    poetry run python waxtax

    opened by stuckatsixpm 0
  • Add support for more robust transaction pulls

    Add support for more robust transaction pulls

    WAXtax now will pull data from 3 different endpoints to improve accuracy of information. Endpoints are randomly chosen from https://validate.eosnation.io/wax/reports/endpoints.html

    Fixes:

    • closes #3
    opened by stuckatsixpm 0
  • Script blows up if there are no transactions in the date range

    Script blows up if there are no transactions in the date range

    I was running my accounts, and I was getting an error on one. This is the output:

    Using endpoint https://api-wax.eosauthority.com/v2/history/get_actions
    WAX Exporter v0.1.0
    Created by SixPM Software
    
    Retrieved price data for USD
    Checking for transactions between 2021-01-01T00:00:00 and 2021-10-31T23:59:59
    Starting 2f2qk.waa
    Traceback (most recent call last):
      File "/usr/local/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
        return _run_code(code, main_globals, None,
      File "/usr/local/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
        exec(code, run_globals)
      File "/Users/ak/workspaces/waxtax/src/waxtax/__main__.py", line 181, in <module>
        main()
      File "/Users/ak/workspaces/waxtax/src/waxtax/__main__.py", line 126, in main
        print(f"{len(filtered)} actions found, ending at {filtered[-1]['timestamp']}")
    IndexError: list index out of range
    $
    opened by akrivitzky 0
Releases(v2.0.0)
  • v2.0.0(Feb 4, 2022)

    Hello everyone! This version of WAXtax is incompatible with configuration files from previous versions.

    Changes:

    config.yaml

    • config.yaml no longer uses the endpoints field. WAXtax now automatically selects available endpoints provided by EOSNation's BP report
    • mode and max_retries are now available as settings in config.yaml

    full mode vs fast mode:

    • full mode will use three endpoints as a reference to give you the best chance at capturing as many actions as possible.
    • fast mode is fast, but uses a single endpoint By default, WAXtax now works in full mode

    Exported files

    • ordinal column has been added to the exported data, you can use this in conjunction with the transaction id to check for duplicates

    Planned for future updates:

    • We're investigating obtaining historical pricing data for the following:
    • Support for transactions of WAX tokens such as TLM, FATE, GUILD
    • Support for Atomic Asset transfers
    Source code(tar.gz)
    Source code(zip)
  • v1.1.0(Oct 10, 2021)

  • v1(Oct 7, 2021)

    Base WAXTax. Command-line version of WAXTax - Runs on Python 3.8+

    WAXtax lets you specify a date range, a list of wallets, and a fiat currency, and then will go and generate CSVs of any WAX Transfers in and out of those accounts across that time period, with one CSV file per account.

    Source code(tar.gz)
    Source code(zip)
Owner
SixPM Software
Freelance Python
SixPM Software
Telegram bot with various Sticker Tools

Sticker Tools Bot @Sticker_Tools_Bot A star ⭐ from you means a lot to us! Telegram bot with various Sticker Tools Usage Deploy to Heroku Tap on above

Stark Bots 20 Dec 08, 2022
Discord bot for the IOTA Wiki

IOTA Wiki Bot Discord bot for the IOTA Wiki Report Bug · Request Feature About The Project This is a Discord bot for the IOTA Wiki. It's currently use

IOTA Community 2 Nov 14, 2021
Indian Space Research Organisation API With Python

ISRO Indian Space Research Organisation API Installation pip install ISRO Usage import isro isro.spacecrafts() # returns spacecrafts data isro.lau

Fayas Noushad 5 Aug 11, 2022
Trabalho N1 para a materia Tecnicas de Progamação da Anhembi Morumbi

Projeto da Anhembi Morumbi - Tecnicas de Programação. RPG de Console (CMD) Trabalho proposto pelo professor André Santana, na materia Tecnicas de Prog

Leonardo Silva M de Barros 3 Sep 12, 2021
A Python wrapper for discord slash-commands, designed to extend discord.py.

dislash.py An extending library for discord.py that allows to build awesome slash-commands. ⭐

173 Dec 19, 2022
Azure Neural Speech Service TTS

Written in Python using the Azure Speech SDK. App.py provides an easy way to create an Text-To-Speech request to Azure Speech and download the wav file.

Rodney 1 Oct 11, 2021
Python SDK for accessing the Hanko Authentication API

Hanko Authentication SDK for Python This package is maintained by Hanko. Contents Introduction Documentation Installation Usage Prerequisites Create a

Hanko.io 3 Mar 08, 2022
Graviti TensorBay Python SDK

TensorBay Python SDK is a python library to access TensorBay and manage your datasets. It provides: A pythonic way to access your

Graviti 72 Aug 22, 2022
PerrOS - The operating system for your discord server.

PerrOS PerrOS is a Opensource Discord Bot to do it all! Installation Use the package manager pip to install the python3 requirements. pip3 install -r

Webshort 2 Jun 20, 2022
Data Platform com AWS CDK

Welcome to your CDK Python project! This is a blank project for Python development with CDK. The cdk.json file tells the CDK Toolkit how to execute yo

Andre Sionek 8 Jul 02, 2022
A bot to get Statistics like the Playercount from your Minecraft-Server on your Discord-Server

Hey Thanks for reading me. Warning: My English is not the best I have programmed this bot to show me statistics about the player numbers and ping of m

spaffel 12 Sep 24, 2022
UP It is a script to notify of a new update of your project, done in python and using GitHub, to modify the versions to notify users.

UP-Updater UP It is a script to notify of a new update of your project, done in python and using GitHub, to modify the versions to notify users. Requi

Made in 4 Oct 28, 2021
A discord bot can stress ip addresses with python tool

Python-ddos-bot Coded by Lamp#1442 A discord bot can stress ip addresses with python tool. Warning! DOS or DDOS is illegal, i shared for educational p

IrgyGANS 1 Nov 16, 2021
Métamorphose Renamer v2

Métamorphose 2 Métamorphose is a graphical mass renaming program for files and folders. These are the command line options: -h, --help Show hel

Métamorphose 129 Dec 30, 2022
🤖 Automated follow/unfollow bot for GitHub. Uses GitHub API. Written in python.

GitHub Follow Bot Table of Contents Disclaimer How to Use Install requirements Authenticate Get a GitHub Personal Access Token Add your GitHub usernam

João Correia 37 Dec 27, 2022
A cracking tool of Xiaomi Dr AI (Archytas / Archimedes)

Archytas Tool 我们强烈抵制闲鱼平台上未经授权的刷机服务! 我对本人之前在程序中为防止违规刷机服务添加未生效的格机代码感到抱歉,在此声明此过激行为与 Crack Mi Dr AI Team 无关,并将程序开源。 A cracking tool of Xiaomi Dr AI (Archy

rponeawa 5 Oct 25, 2022
Signs API calls to SberCloud.Advanced with AK/SK

sbercloud-api-aksk Signs API calls to SberCloud.Advanced with AK/SK This script is a courtesy of @sadpdtchr Description Sometimes there is a need to m

Peter Predtechensky 1 Nov 30, 2021
Python3 script to dump employee information from XING API

XingDumper Python 3 script to dump company employees from XING API. Perfect OSINT tool ;-) The results contain firstname, lastname, position, gender,

LRVT 11 Dec 26, 2022
Telegram bot implementing Lex Arcana using python-telegram-bot library.

Lex Arcana Telegram Bot 🤖 Telegram bot implementing Lex Arcana using python-telegram-bot library. This bot was evaluated for the course "Computer Eng

Nicolò Sonnino 6 Jun 22, 2022
Purpose To make a cloudflare challenge pass successfully, Can be use cf_clearance bypassed by cloudflare

Purpose To make a cloudflare challenge pass successfully, Can be use cf_clearance bypassed by cloudflare, However, with the cf_clearance, make sure you use the same IP and UA as when you got it.

vvanglro 129 Jan 09, 2023