bitsongofficial / bitsongjs

A series of useful Javascript libraries for BitSong
Apache License 2.0
4 stars 2 forks source link

Create @bitsongjs/utils package #11

Closed DavideSegullo closed 2 years ago

DavideSegullo commented 2 years ago

We could create a package to manage utilities, for example for data conversions or to read IBC tokens

angelorc commented 2 years ago

totally agree...even constants (exponent, microdenom, denom...) must be there

DavideSegullo commented 2 years ago

totally agree...even constants (exponent, microdenom, denom...) must be there

We can export them from the chain registry

DavideSegullo commented 2 years ago

We should add a utility to generate the merkledrop file with proofs like we do in the go-bitsong cli

angelorc commented 2 years ago

Yes I agree. Something like this? https://github.com/Mirror-Protocol/mirror-airdrop/blob/main/src/Airdrop.ts

DavideSegullo commented 2 years ago

Yes I agree. Something like this? https://github.com/Mirror-Protocol/mirror-airdrop/blob/main/src/Airdrop.ts

Yes, I will use it as a reference