question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support Ethermint

See original GitHub issue

Hi!

I added the Ethermint support to cosmjs locally with the following functions:

  • generate EVM / Bech32 address from public key type /ethermint.crypto.v1.ethsecp256k1.PubKey
  • sign the transaction with public key type /ethermint.crypto.v1.ethsecp256k1.PubKey

Is it ok to add a public key type flag to identify different decode/signing method in the following files? Any suggestions?

Generate address

In directsecp256k1hdwallet.js: getAccountsWithPrivkeys(), getKeyPair() In account.js: accountFromAny()

Sign transaction

In pubkey.js: decodePubkey(), decodeSinglePubkey(), encodePubkey() In signingstargateclient.js: signDirect()

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
webmaster128commented, Apr 1, 2022

Could you commit your local changed and create a draft PR with what you have? Maybe that helps understanding what you are doing and how to best collaborate. I worked on Ethereum client tech before but have no clue about Ethermint.

0reactions
webmaster128commented, Dec 13, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Ethermint Documentation | Ethermint Documentation
Ethermint is a scalable and interoperable Ethereum, built on Proof-of-Stake with fast-finality. ... Help us improve this page by suggesting edits on GitHub....
Read more >
Run a Node - Ethermint Documentation
Ethermint currently only supports 24 word mnemonics. You can generate a new key/mnemonic with: Copy ethermintcli keys add $KEY.
Read more >
Metamask - Ethermint Documentation
Then click the top right circle and go to Settings > Networks . Press the Add Network button and fill the form as...
Read more >
Installation - Ethermint Documentation
Installation. # Binaries. Clone and build Ethermint using git : Copy git clone https://github.com/cosmos/ethermint.git cd ethermint make install.
Read more >
Use Cases - Ethermint Documentation
This can be added as a dependency to any Cosmos chain, which will allow for smart contract support. Importing EVM module can also...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found