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
Python JIRA Library is the easiest way to automate JIRA. Support for py27 was dropped on 2019-10-14, do not raise bugs related to it.

Jira Python Library This library eases the use of the Jira REST API from Python and it has been used in production for years. As this is an open-sourc

PyContribs 1.7k Jan 06, 2023
3X Fast Telethon Based Bot

📺 YouTube Song Downloader Bot For Telegram 🔮 3X Fast Telethon Based Bot ⚜ Easy To Deploy 🤗

@Dk_king_offcial 1 Dec 09, 2021
Running Performance Calculator

Running Performance Calculator 👉 Have you ever wondered if you ran 10km at 2000

Davide Liu 6 Oct 26, 2022
AWS SQS event redrive Lambda

This repository contains the Lambda function to redrive sqs events from source to destination queue while controlling maxRetry per event.

1 Oct 19, 2021
Create custom Vanity URLs for Discord without 30 boosts

CustomVanity - Made by udp#6666 aka Apolo - OpenSource Custom Discord Vanity Creator How To Use Open CustomVanity.py Write your server invite code Wri

apolo 17 Aug 23, 2022
Role Based Access Control for Slack-Bolt Applications

Role Based Access Control for Slack-Bolt Apps Role Based Access Control (RBAC) is a term applied to limiting the authorization for a specific operatio

Jeremy Schulman 7 Jan 06, 2022
A small module to communicate with Triller's API

A small, UNOFFICIAL module to communicate with Triller's API. I plan to add more features/methods in the future.

A3R0 1 Nov 01, 2022
Find rare users in discord servers

BadgeScraper Find rare users in discord servers How to use Replace the guild_id, server_id and token by the values you wanna use If you never used dis

20 Dec 09, 2022
Bot for automated buying boxes on Binance

V 1.0 Bot for automated buying boxes on Binance В settings.py выставляем свои COOKIE и свой CSRFTOKEN В settings.py для headers выставляем свои параме

Matvey 3 Jan 18, 2022
A python script that automatically farms the Discord bot 'Dank Memer'.

Dank Farmer A python script that automatically farms the Discord bot 'Dank Memer'. Requirements pynput Disclaimer DO NOT use if you are not willing to

2 Dec 30, 2021
The Python SDK for the Rackspace Cloud

pyrax Python SDK for OpenStack/Rackspace APIs DEPRECATED: Pyrax is no longer being developed or supported. See openstacksdk and the rackspacesdk plugi

PyContribs 238 Sep 21, 2022
Wordle-bot: A Discord bot to track you and your friends' Wordle scores.

wordle-bot A Discord bot to track you and your friends' Wordle scores, so you can see who's the best! To submit a score to wordle-bot, just paste the

Spencer Murray 8 Feb 16, 2022
Facebook fishing on telegram bot

Facebook-fishing Facebook fishing on telegram bot تثبيت الاداة pkg update -y pkg upgrade -y pkg install git -y pkg install python -y git clone https:/

sadamalsharabi 7 Oct 18, 2022
Discord Bot for server hosts, devs, and admins. Analyzes timings reports & uploads text files to hastebin. Developed by https://birdflop.com.

"Botflop" Click here to invite Botflop to your server. Current abilities Analyze timings reports Paste a timings report to review an in-depth descript

Purpur 76 Dec 31, 2022
Telegram bot using python

Telegram bot using python

Masha Kubyshina 1 Oct 11, 2021
Presentation and code files for the talk at PyCon Indonesia

pycon-indonesia Presentation and code files for the talk at PyCon Indonesia. Files used for the PyCon Indonesia presentation. [Directory Includes:] Be

Neeraj Pandey 2 Dec 04, 2021
discord token grabber scam - eductional purposes only!

Discord-QR-Scam תופס אסימון תמונה של Discord על אודות סקריפט Python שיוצר אוטומטית קוד QR הונאה של Nitro ותופס את אסימון הדיסקורד בעת סריקה. כלי זה מד

Amit Pinchasi 0 May 22, 2022
Instagram-Reports is a tool made to ban any scam or bad person

ABOUT TOOL : Instagram-Reports is a tool made to ban any scam or bad person. Installation : sudo apt-get update -y sudo apt-get upgrade -y apt insta

Evan Al Mahmud Irfan ථ 1 Dec 20, 2021
EduuRobot Telegram bot source code.

EduuRobot A multipurpose Telegram Bot made with Pyrogram and asynchronous programming. Requirements Python 3.6+ An Unix-like operating system (Running

Amano Team 119 Dec 23, 2022
dex.guru python sdk

dexguru-sdk.py dexguru-sdk.py allows you to access dex.guru public methods from your async python scripts. Installation To install latest version, jus

DexGuru 17 Dec 06, 2022