evmosjs icon indicating copy to clipboard operation
evmosjs copied to clipboard

Why don't we export this function?

Open liangping opened this issue 2 years ago • 0 comments

https://github.com/evmos/evmosjs/blob/88e7599ccb79d98582fb20d782371fb9767e86e0/packages/address-converter/src/converter.ts#L50-54

const bech32Chain = (name: string, prefix: string) => ({
  decoder: makeBech32Decoder(prefix),
  encoder: makeBech32Encoder(prefix),
  name,
})

Would be great to export this fuction, therefore other chains could use it more convininent

liangping avatar Mar 12 '23 02:03 liangping