Questions tagged [moonbeam]
The moonbeam tag has no usage guidance.
37
questions
0
votes
0
answers
20
views
How to use the Substrate H160 address to sign a transaction on moonbeam?
Woof and hello substrated people,
I have a special issue where I need your support. I shared an extrinsic with my community to transfer $WIFD from AH to Moonbeam, so far so good.
In this example "...
0
votes
0
answers
42
views
Event subscription error from EVM compatible Substrate chain
i'm trying to listen events against a solidity smart contract deployed on EVM compatible Substrate chain and getting following error
Error listening event ChangeOwner : Error: Returned error: Method ...
0
votes
0
answers
48
views
Error querying evm rpc endpoint on a node run by Chopsticks
I'm trying to run a local node using Chopsticks and connect to it using Metamask, but when I make the request to the eth-rpc-adapter, it fails. Here are the steps I followed with the corresponding ...
0
votes
0
answers
26
views
How to implement XC-20 standard
I need help understanding XC-20 implementation and how its components interact. Suppose I run a parachain (ParaA) that aims to supports XC-20. I need to include Frontier so ParaA is fully EVM ...
0
votes
0
answers
39
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
10
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
41
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 ...
1
vote
0
answers
52
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
[...
0
votes
0
answers
84
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 ...
2
votes
1
answer
129
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 ...
3
votes
0
answers
51
views
Unified Accounts [closed]
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
1
answer
108
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 ...
2
votes
1
answer
77
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]]
...
6
votes
0
answers
190
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 ...
1
vote
1
answer
45
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
93
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&...
3
votes
0
answers
33
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 ...
1
vote
1
answer
32
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?
0
votes
1
answer
52
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 ...
1
vote
1
answer
109
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 ...
2
votes
2
answers
214
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 ...
0
votes
2
answers
45
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 ...
3
votes
1
answer
213
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
4
answers
708
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'...
0
votes
0
answers
38
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 ...
0
votes
2
answers
90
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 ...
1
vote
1
answer
47
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 !...
5
votes
0
answers
285
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 ...
2
votes
0
answers
36
views
Integrate nimbus in runtime node
How to integrate nimbus in place of aura authorship in our node runtime ?
4
votes
0
answers
44
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-...
6
votes
1
answer
263
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....
0
votes
1
answer
73
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 ...
1
vote
0
answers
45
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#...
1
vote
1
answer
38
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?
3
votes
0
answers
72
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?
5
votes
1
answer
312
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=...
1
vote
2
answers
69
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.