Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Why don't we export this function? #148

Open
liangping opened this issue Mar 12, 2023 · 0 comments
Open

Why don't we export this function? #148

liangping opened this issue Mar 12, 2023 · 0 comments

Comments

@liangping
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant