keplr-wallet
keplr-wallet copied to clipboard
feat: support for injective as beta
We had a couple of discussions on Telegram regarding supporting Injective as per recent development by the Evmos team to support signing for coinType = 60
so we've made a branch that does that. There is also an addition to parse injectiveAddress to Ethereum address as per Evmos's example.
And, this is the config:
export const INJECTIVE_RPC_ENDPOINT = "https://tm.injective.network";
export const INJECTIVE_RPC_CONFIG: AxiosRequestConfig | undefined = undefined;
export const INJECTIVE_REST_ENDPOINT = "https://lcd.injective.network";
export const INJECTIVE_REST_CONFIG: AxiosRequestConfig | undefined = undefined;
EVMOS support is not maintained by our team. Current EVMOS implementation not only based on coinType=60, but also based on bech32 prefix, referencing and supporting in somewhat hard-coded way. Therefore, even though using coinType=60 may function, it does not guarantee further functioning in future PRs of EVMOS. Keplr team does not currently use internal resources to support EVMOS. However, I am willing to merge this PR when the Ethermint team has implemented considering the case of Injective
Hey @Thunnini I've just updated the PR to add support for Keplr users to be able to sign transactions on Injective directly on Keplr.
Hey @Thunnini can this get merged now?
Hey @Thunnini this PR is good to go now. Could you merge it?
No, please remove the injective from chain infos. We don't add the chain natively by PR.
And, consider the other way to remove if (chainId === "foo" || chainId === "bar") part. Alternatively, use features
field in ChainInfo
Just updated the PR @Thunnini
Ping @Thunnini
Bump @Thunnini - can this get merged now?