https://github.com/davezuch/oklink_processor
https://github.com/davezuch/oklink_processor
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/davezuch/oklink_processor
- Owner: davezuch
- License: mit
- Created: 2023-07-14T00:49:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-17T22:31:48.000Z (about 3 years ago)
- Last Synced: 2023-07-17T23:29:07.991Z (about 3 years ago)
- Language: Rust
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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][ctc]'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.:
```console
$ cargo run --
```
[ctc]: https://help.cryptotaxcalculator.io/en/articles/5777675-advanced-manual-custom-csv-import
[oklink api]: https://www.oklink.com/docs/en/#explorer-api-brc20
[unisat]: https://unisat.io/