/oklink_processor

Primary LanguageRustMIT LicenseMIT

OkLink tax script for UniSat chain

This is a script for fetching inscriptions from the UniSat chain using the OkLink API, processing them, then writing the results to a CSV according to CryptoTaxCalculator's CSV formatting.

This script is very limited in scope, it can only handle the transaction types that the author has used. However, it should be easy to extend to handle other transaction types as well as other output formats fairly easily.

Usage

To use the script, simply run the application, passing the oklink api key and your BTC wallet as arguments, e.g.:

$ cargo run -- <OKLINK_API_KEY> <BTC_WALLET>