DefiantLabs / cosmos-tax-cli

An opensource cosmos tax tool!
https://defiantlabs.net
Apache License 2.0
25 stars 7 forks source link

feat/client asset list pulling for denoms, denom units and symbols #501

Closed pharr117 closed 11 months ago

pharr117 commented 11 months ago

Overview

Adds the following:

  1. chainregistry package used for interacting with the Git repo Cosmos chain registry
  2. Functionality for pulling the repo and parsing asset lists
  3. Use the new package in the following places:
    • Client initialization setup to get and cache asset mappings
    • Denom unit conversion method to check for asset list entry and prefer that over database denoms

Closes #499