cosmostation/cosmosjs

allow for alt prefixes

cbarraford opened this issue · 2 comments

Allow the ability to generate an address with a prefix other than cosmos.
https://github.com/cosmostation/cosmosjs/blob/master/src/index.js#L65

Of course its ok to default to cosmos, but allow a parameter to the function, or define it in the instance (like chain-id).

Ok. I will add to allow a parameter, bech32MainPrefix at Cosmos function.

I added it.
c1b2c13