Questions tagged [frontier]
Questions about the most popular Substrate EVM framework.
10
questions
8
votes
2
answers
428
views
How to bind an Ethereum H160 address with a Substrate H256 address?
I'm trying to bind a H160 address with a H256 address, if we
assume this function:
fn bind(origin: OriginFor<T>, address: H160 , signature: [u8; 130]) -> Result<(), Error<T>>{
...
2
votes
3
answers
499
views
cannot find macro `vec` in this scope
I am trying to add Frontier as a dependency in my substrate-parachain-template.
Compiling sp-npos-elections v4.0.0-dev (https://github.com/paritytech/substrate?branch=polkadot-v0.9.25#3348e144)
...
2
votes
1
answer
26
views
Derived H160 address is different than showing in metamask?
I know ss58 public key and private key, also I have derived the EVM HS160 account from the same public key, next is how I can import that EVM HS160 Account in metamask. If I put the private key of ...
1
vote
2
answers
107
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 ...
0
votes
1
answer
85
views
How to add Frontier code as a dependency to substrate-parachain-template based parachain?
Hi I was trying to add Frontier code to my substrate-parachain-template project.
I was following JoshOrndorff's tutorial and his commits here https://github.com/PureStake/substrate-node-template/...
2
votes
4
answers
210
views
Private key for EVM Frontier
I am running the Frontier-Node-Template and using the library Web3JS to generate EVM transactions following the Moonbeam guide.
const Web3 = require('web3');
const web3 = new Web3('ws://127.0.0.1:9944'...
2
votes
1
answer
102
views
How to make a parachain project that uses Frontier as a dependency?
I have a parachain project that uses Frontier as a dependency with a specific Substrate version(polkadot-v0.9.24), but the Ethereum RPC does not work. So I need to find the bug there...
Also I am ...
2
votes
1
answer
95
views
How to upgrade Frontier to use a specific Substrate version
The Substrate team(https://github.com/paritytech/substrate/) produces releases like polkadot-v0.9.25 every a few weeks,
and my team needs to upgrade our parachain to follow those Substrate versions.
...
1
vote
1
answer
118
views
How to make gasless(EVM balance) transaction in Frontier EVM for certain Ethereum smart contract functions?
How is gasPrice determined in Frontier EVM?
I found the following settings in the Frontier/template/src/runtime/lib.rs
impl pallet_evm::Config for Runtime {
type FeeCalculator = BaseFee;
type ...
0
votes
1
answer
44
views
How do I use the AccountId20 and EthereumSignature Signer with polkadot.js.org? [duplicate]
I'm trying to get a better understanding of Frontier, and thus I'm reimplementing the frontier node template over the generic substrate node template. Unfortunately I'm pretty much stuck at step 1.
...