Questions tagged [ethereum]

Users asking questions related to the Ethereum network.

Filter by
Sorted by
Tagged with
1 vote
1 answer
47 views

Is there any way to compile ink contract to EVM bytecode?

I just wonder if there is any way to deploy my ink! contract to ethereum network. As far as I know, ink! contract compiles to WASM bytecode, not EVM, so it's not possible, right? Or maybe there are ...
0 votes
0 answers
12 views

Finding author with FindAuthor and Babe consensus

I want to implement the FindAuthor trait to tell my pallet_evm how to find the author of a block. I know how to do it with Aura(FindAuthor is implemented in frontier-node-template). Im implementing an ...
1 vote
2 answers
43 views

deploy solidity ethereum to parachain with ExhaustsResources error

I can deploy a few Ethereum smart contracts into my parachain via Hardhat. But those are only normal contracts. All the upgradeable contracts and ERC777 contract cannot be deployed with the ...
  • 737
0 votes
1 answer
39 views

How to make a Frontier demo for running Ethereum smart contracts?

Inside the Frontier repo, I found this template folder: https://github.com/paritytech/frontier/tree/master/template and its Readme says: This template is maintained in the Frontier project repository, ...
  • 737
0 votes
1 answer
21 views

ChainBridge: how to use their CLI tool to deploy smart contracts on Ethereum networks?

How to Ropsten, Rinkeby, Kovan, Goerli, and Kiln From cb-sol-cli doc page https://github.com/ChainSafe/chainbridge-deploy/blob/master/cb-sol-cli/docs/deploy.md It is not very clear or easy to use this ...
  • 737
0 votes
1 answer
42 views

How to connect my Parachain and Ethereum to ChainBridge?

How can I make ChainBridge to work with my parachain collator? Is there a documentation for such process? all the settings are inside the chainbridge/config.json file(https://github.com/ChainSafe/...
  • 737
1 vote
2 answers
74 views

Polkadot Patricia Trie compatible with Ethereum implementation

I'm currently looking to verify ethereum transaction merkle-proofs in runtime. As Ethereum also uses a patricia-trie, I was wondering if the two implementations are generally compatible. Is it ...
0 votes
0 answers
38 views

using ethereum accounts for BABE and Grandpa

I have applied the Moonbeam style unified account to match my substrate accounts with the evm. But I still couldn't figure it out how to use those accounts as my session keys for BABE and Grandpa. Is ...
2 votes
2 answers
60 views

Ethereum chain as a Substrate chain

Is it technically possible to upgrade Ethereum to be Substrate compatible blockchain? I understand there is likely to be strong resistance toward such idea in ETH community but I am interested only ...
4 votes
1 answer
125 views

the trait `WrapperTypeEncode` is not implemented for `ethereum_types::H256` & `ethereum_types::U256`

I am using: ethereum-type version = "0.12", codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"]} scale-...
  • 175
0 votes
1 answer
41 views

Enabling the std feature on environmental crate

I'm trying to use the environmental crate (link: https://docs.rs/environmental/1.1.3/src/environmental/lib.rs.html#64) to work with EVM and ethereum transactions. But it seems like adding either ...
  • 131
2 votes
1 answer
58 views

convert ethereum public key to substrate public key

given a known ethereum public key, is it possible to determine a substrate public key for the same account (for the purpose of an airdrop)? i believe that substrate keys are interchangeable across ...
3 votes
1 answer
131 views

How to convert a Substrate address to an Etherum address? [duplicate]

How can I convert a Substrate address to an Etherum address? There is an EVM to substrate address conversion that Edgeware provides: https://edgewa.re/keygen
3 votes
2 answers
54 views

How do ECDSA subkeys differ from Bitcoin/Ethereum keys?

As far as I understand, besides the ed25519 and sr25519 signatures, there is a compatibility mode for ECDSA keypairs that should use the secp256k1 curve. Both Bitcoin and Ethereum use the secp256k1 ...
  • 277
2 votes
0 answers
31 views

frontier ethereum pallet integration, the trait `fc_rpc::format::Formatter` is not implemented for `Geth`

I'm trying to copy a function from the frontier pallet(fc_rpc::format::Formatter), I copied it to a file and imported that. frontier-752fb1c28a6c675a/ea37e8f/client/rpc/src/format.rs It's the same ...
  • 131
2 votes
0 answers
48 views

What are precompiled in moonbeam and relevant EVM enabled chains? [closed]

What are precompiled in moonbeam and relevant EVM-enabled chains? and why we should use it if we are going to create EVM enabled chain?
1 vote
1 answer
73 views

Process ethereum transactions in an offchain worker

I need to process Ethereum transactions in a substrate offchain worker. I already include EVM and Ethereum pallets, but I also need to do some communications with runtime code running as solidity ...
  • 113