Add support Ethermint
See original GitHub issueHi!
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:
- Created a year ago
- Comments:10 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
See https://github.com/cosmos/cosmjs/issues/1351