Questions tagged [moonbeam]
The moonbeam tag has no usage guidance.
34
questions
6
votes
1
answer
253
views
Moonbeam Parachain staking
I have added parachain staking and moonbeam-orbiters of moonbeam in our project. When I test it, all the extrinsics are performing well except the staking part. I have gone through this https://docs....
6
votes
0
answers
145
views
How to generate a Moonbeam Unified Account using Subkey?
In the Moonbeam Unified documentation here, it says that Moonbeam natively supports "Ethereum-style address (H160 format), which is 40+2 hex-characters long, in a Substrate based chain" and ...
5
votes
1
answer
245
views
How to deploy a parachain node and connect it to an existing relay chain node?
I deployed a relay chain node using the provided docker container:
docker run \
--detach \
--name=polkadot \
--volume="$(pwd)/data:/data" \
--network=host \
--entrypoint=...
5
votes
0
answers
258
views
XCM Barrier blocked execution: when transferring XC-20 between 2 local Moonbase parachains
The setup is:
polkadot-launch
1 relay chain: polkadot-0.9.18 rococo
2 parachains: moonbeam-0.24.0 moonbase-local
paraId 1000
paraId 1001
open hrmp channel via polkadot-launch
Transferring DOT ...
4
votes
0
answers
40
views
Testing Moonbeam parachain staking
I have added Moonbeam parachain staking in our code.Can anyone please provide the full step to test it. I'm following this tutorial: https://docs.moonbeam.network/tokens/staking/stake/#staking-your-...
3
votes
1
answer
102
views
Rationale on Moonbeam's GAS_PER_SECOND
I'm trying to understand the rationale behind Moonbeam's GAS_PER_SECOND:
/// Current approximation of the gas/s consumption considering
/// EVM execution over compiled WASM (on 4.4Ghz CPU).
/// Given ...
3
votes
1
answer
141
views
Unified accounts with AURA
I want to use unified accounts for a Substrate-based EVM chain. I've looked into the mooonbeam implementation, and they are using it with a custom module pallet-author-inherent which is used for block ...
3
votes
0
answers
37
views
Unified Accounts
We have followed the comets of moonBeam and implemented Unified Accounts. Now we're facing issues while adding session keys for aura, grandpa and I'm online.
we're using this method for Aura and ...
3
votes
0
answers
27
views
No rewards to block authors for validating transactions in a PoA chain
1- I've built a custom chain with unified accounts that uses PoA as its consensus, but there's no addition to the validator's balance on the confirmation of a transaction even though I've set in my ...
3
votes
0
answers
69
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?
2
votes
4
answers
482
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
57
views
Error creating asset in moonbeam with zombienet
I'm trying to create an asset but I always get this error:
This is my config.toml:
[relaychain]
default_command = "./bin/polkadot"
chain = "rococo-local"
[[relaychain.nodes]]
...
2
votes
2
answers
134
views
Invalid AccountId provided, expected 32 bytes, found 20
I've implemented an evm-based Substrate chain (i.e. it uses the H160 address format), but when I try to open Accounts page on Polkadot explorer, I get this error:
Invalid AccountId provided, expected ...
2
votes
1
answer
105
views
Issues with Function Call on EVM-Compatible Substrate Using Metamask and Polkadot
I'm working on a project using an EVM-compatible Substrate blockchain. I am encountering problems when trying to call functions on this Substrate instance.
Here's the function used to sign and send ...
2
votes
0
answers
34
views
Integrate nimbus in runtime node
How to integrate nimbus in place of aura authorship in our node runtime ?
1
vote
2
answers
57
views
Why does the moonbeam/moonriver polkadot-js website not have an extrinsics developer menu?
Why does the moonbeam/moonriver polkadot-js websites not have an extrinsics developer menu? The chain state can be queried, and RPC seems there.
I'm just curious.
1
vote
1
answer
84
views
Moonbeam #[precompile] procedural macro and Rust generics compilation error
I'm trying to write something similar to Moonbeam's assets-erc20 precompile.
I'm using Moonbeam's #[precompile] procedural macros.
pub type AssetIdOf<R> =
<<R as pallet_evm::Config&...
1
vote
1
answer
37
views
Balance becomes zero after changing Account address type from Substrate address to Ethereum address
I am working on a scenario, where I have to upgrade my application and change account address type(from Substrate address to Ethereum address[similar to moonbeam unified account]).
I made the ...
1
vote
1
answer
37
views
How do I get started developing dapps on Moonbeam and Moonriver?
What's the best way to get set up and start developing dapps on Moonbeam?
1
vote
0
answers
29
views
Moonbase parachain collator not producing blocks using zombienet
I am trying to run zombienet tests with 2 polkadot relay chain nodes and 1 parachain collator running the moonbeam binary. The test config is as follows: test.toml
[settings]
timeout = 1000
[...
1
vote
1
answer
31
views
How can we get prepare the proof for crowdloan pallet?
I am working on the moonbeams crowdloan pallet. In associate_native_identity extrinsic we need proof: MultiSignature in parameter.
how can we get that?
1
vote
0
answers
38
views
How to solve the error of 'Block invalid'
I'm facing this issue after starting parachain:
Note: I have changed the consensus mechanism from aura to nimbus(moonbeam use this).
Can anyone please help me to solve this issue ?
Thanks in advance !...
1
vote
0
answers
41
views
Read Token Contract Information
I would like to read contract information(especially name, symbol, decimal, owner) from token contracts like shown here: https://moonbeam.moonscan.io/token/0x818ec0a7fe18ff94269904fced6ae3dae6d6dc0b#...
0
votes
2
answers
80
views
Is it possible to run moonbeam/Astar as a standalone network
I am exploring moonbeam and astar projects. I would like to know if it is possible to run a standalone network without collators or relaychain.
I am interested in running a standalone network of one ...
0
votes
1
answer
47
views
can we run MoonBeam as solo chain instead of Para chain
I have cloned the repo of MoonBeam and run the chain as a "Development chain" but the chain is not producing blocks. Are there any reference links which i can follow to remove dependency ...
0
votes
2
answers
41
views
Add a logo to Substrate Native Token
I want to add a logo to my native token on Substrate. I've seen it's implemented for multiple Substrate-based chains, but I couldn't find their implementation logics. Like here are the logos for ...
0
votes
1
answer
68
views
How can I see what xcm message the moonbeam/river parachain has sent?
I sought to find xcm extrinsics sent from the moonriver/moonbeam parachains but it seems to do things a little differently. Where can I find the sent message or at least the message hash so that I can ...
0
votes
1
answer
70
views
`UnknownTransaction::CannotLookup` error on each extrinsic
I've implemented unified accounts in a NPoS consensus-based substrate chain, and modified the polkadot-js/apps accordingly as well. The transactions through metamask go through successfully, but I'm ...
0
votes
0
answers
38
views
Implementing FullDeps in Substrate rpc.rs using channels instead of Arcs
This is a standard implementation of FullDeps in the rpc.rs:
// Full client dependencies.
pub struct FullDeps<C, P, SC, B> {
/// The client instance to use.
pub client: Arc<C>,
...
0
votes
0
answers
9
views
Can we access XCMp functions by writing moonbeam smart contract?
If my contracts which are deployed on moonbeam wants to interact with contracts deployed on acala (or) astar (or) any other parachain under polkadot hub, Is it possible to acheive it?
0
votes
1
answer
16
views
Moonbeam Unified Accounts Implementation
Moonbeam implemented unified accounts to use H160 address type across all network is quit old, is there any codebase available to implement same with newly generated frontier node template or is it ...
0
votes
0
answers
52
views
Mapping EVM Address to Substrate Address with Preserved Balance
I'm working on a project involving an EVM-compatible Substrate blockchain and facing a challenge. The problem arises when trying to map Ethereum-based addresses, acquired through Metamask, to the ...
0
votes
0
answers
87
views
How to connect to Polkadot Relay-Chain through the code of moonbeam parachain?
I want to connect polkadot relay chain but i'm not able to select keys for the customSpec generated by the binary of Moonbeam-Parachain. The customSpec is this->
{
"name": &...
0
votes
0
answers
35
views
Is it possible to pull the transactions that the Moonbeam collators are sending to the Polkadot relay chain?
Currently, working inside the Moonbeam interface and was wondering if it was possible to pull the group of transactions that the Moonbeam collators are sending to the Polkadot Relay Chain before the ...