Questions tagged [polkadot]

Use this tag for questions about the Polkadot blockchain network platform. General questions about Polkadot should be asked at https://substrate.stackexchange.com

203 questions
0
votes
1 answer

First Substrate Chain

When i run this command according to the documentation. **cargo build** I recived this error. enter image description here I didn`t find any solution for this. This is the tutorial…
0
votes
1 answer

How to generate polkadot account file using polkadot-js API

When using Polkadot-JS App, a new account is saved in the polkadot-accounts directory with the following file…
wbinky
  • 160
  • 1
  • 11
0
votes
1 answer

Polkadot block-chain basic concepts

I am new to block chain,how to understand polka dot block chain ...,please anyone explain me with some example in real time..... what is substrate what is dot,why do we use it how to relate to any use case... I have tried git clone…
Amrith
  • 7
0
votes
1 answer

1002: Verification Error: Execution: Could not convert parameter `tx` between node and runtime: No such variant in enum MultiAddress

1002: Verification Error: Execution: Could not convert parameter `tx` between node and runtime: No such variant in enum MultiAddress: RuntimeApi, Execution: Could not convert parameter `tx` between node and runtime: No such variant in enum…
user10664959
0
votes
2 answers

Create an array within a 'for loop' in React

I have picked up a React project that uses Polkadot.js from another developer and I'm struggling to understand how to achieve the following: I want to display a grid of images. The initial part of the image URL is hardcoded in a const. When the user…
ImranR
  • 516
  • 2
  • 13
  • 30
0
votes
1 answer

How could I configure the reward for a substrate Aura validator?

Now that the PoA is running with multiple Aura validators in my substrate-node-template. How could I configure that reward amount or value for my Aura validators?
hgminerva
  • 184
  • 5
0
votes
1 answer

Polkadot and Ethereum compatiblity

I've read that blockchains connected to the main relay chain of Polkadot can communicate with external blockchains such as Ethereum, using a bridge. My question is: Why would someone deploy a dapp to the Polkadot ecosystem, to Moonbeam for example,…
ujvariba
  • 11
  • 1
0
votes
1 answer

Polkadot how to use/modify Frontier in a parachain project with certain Substrate version - Rust Dependency management

I have encountered the dependency hell in Polkadot Rust, that is when I was trying to build a Parachain(https://github.com/substrate-developer-hub/substrate-parachain-template) with Frontier, I was trying to make sure both the Parachain and Frontier…
Russo
  • 2,186
  • 2
  • 26
  • 42
0
votes
2 answers

Uncaught (in promise) Error: Objects are not valid as a React chid. If you meant to render a collection of children, use an array instead

Im trying to render the output of the polkadot browser extension but i'm getting this error Uncaught (in promise) Error: Objects are not valid as a React child (found: object with keys {address, meta, type}). If you meant to render a collection of…
nvx
  • 1
0
votes
0 answers

How to determine which parameters are required when using substrate.query() to query a storage_function from polkascan's py-substrate-interface?

When querying storage functions using Polkascan's py-substrate-interface how do you figure out which parameters are required? For example, I am trying to discern how much KSM is on Karura via storage functions in the tokens (ORML) pallet. See below…
0
votes
0 answers

Correlate events with extrinsics in a utility.batch call in Polkadot

In Polkadot and Kusama blockchains emitted module events has the phase property so we can correlate them with the extrinsic that triggered that event but I can't do the same when the extrinsic is included in a utility.batch…
0
votes
0 answers

found staticlib `std` instead of rlib or dylib

found staticlib std instead of rlib or dylib help: please recompile that crate using --crate-type lib note: the following crate versions were found: crate std:…
0
votes
2 answers

polkadot canvas testnet contract deploy error "contracts.contractTrapped"

I'm trying to deploy basic erc20 example contract on rococo canvas but "contracts.ContractTrapped" error popped on deployment? any hint will be much appreciated, Thanks!
Rehan
  • 408
  • 1
  • 6
  • 17
0
votes
1 answer

Is Polkadot transaction priority only based on fees?

The Polkdadot wiki says in Learn > Basics > Transaction Fees: Block producers prioritize transactions based on each transaction's total fee. Since a portion of the fee will go to the block producer, producers will include the transactions with the…
mkl
  • 635
  • 1
  • 6
  • 16
0
votes
0 answers

CPU for Polkadot validator

I want to build validator node for staking in Polkadot. In hardware requirements specified 7700k. Is it possible to set up Intel Xeon E5-2650 v2 instead of Intel Core 7700k Recommended configuration:…
ur_0s
  • 9
  • 1