Use this tag for questions about the Polkadot blockchain network platform. General questions about Polkadot should be asked at https://substrate.stackexchange.com
Questions tagged [polkadot]
203 questions
0
votes
0 answers
Error: Service(Telemetry(IoError(Custom {...... error in substrate
Full error message:-
Error: Service(Telemetry(IoError(Custom { kind: Other, error: "Error parsing resolv.conf: ProtoError { kind: Msg(\"Malformed label: --\") }" })))
Got the above error while running the node in staging mode and it is working fine…

Makam Aravind
- 43
- 6
0
votes
2 answers
Retrieving password from Polkadot js extention
hey as the title hints to, yes i have managed to loose the mnemonic phrase for my polkadot js wallet in the event of staking and creating the account. In addition i have forgot the password to the wallet itself. Now my question is if it is possible…

kib
- 77
- 5
0
votes
1 answer
Blocks are not producing when using --staging flag (in the full node)
Idle (0 peers), best: #0 (0xed0a…2e72), finalized #0 (0xed0a…2e72), ⬇ 0 ⬆ 0
Idle (0 peers), best: #0 (0xed0a…2e72), finalized #0 (0xed0a…2e72), ⬇ 0 ⬆ 0
I am getting above output if i run (./target/release/substrate --chain=staging) this command in…

Makam Aravind
- 43
- 6
0
votes
1 answer
ModuleId required for crowdfunding recipe is not present
The crowdfunding app has an import ModuleId
use sp_runtime::{
traits::{AccountIdConversion, Saturating, Zero},
ModuleId,
};
const PALLET_ID: ModuleId = ModuleId(*b"ex/cfund");
I am now using FRAME 2.0, sp_runtime no more contain ModuleId,…

Amiya Behera
- 2,210
- 19
- 32
0
votes
1 answer
How to list all the parachains in a Polkadot network?
Is it possible to list all the parachains in a given network? The documentation for test-network for parachains states that we can select the desired parachain from the dropdown. I want to do the same thing from the backend using Rust but I am not…

Aviral Srivastava
- 4,058
- 8
- 29
- 81
0
votes
0 answers
How to generate polkadot, filecoin address from xpub
I have a xpub(extended public key) right now,and I want use this xpub to generate a polkadot address. so in my wallet I can use this address receive dot coin.
function xpubToDotAddress(xpub){
...logic here;
return address;
}

Chenxing He
- 3
- 2
0
votes
1 answer
polkadot-js balances.transfer throws error
In my webapp balances.transfer is throwing an error but staking.bondExtra is working as expected. Its connected to westend network.
Error:
Error: createType(Call):: Call: failed decoding balances.transfer:: Struct: failed on args:…

Suryansh Singh
- 67
- 5
0
votes
0 answers
Got this runtime error while implementing assets pallet in substrate(1002: Verification Error: Runtime error: Execution failed:
Got this runtime error while implementing assets pallet
1002: Verification Error: Runtime error: Execution failed: ApiError(FailedToConvertParameter
More info about error:
1002: Verification Error: Runtime error: Execution failed:…

Makam Aravind
- 43
- 6
0
votes
1 answer
I am getting error when trying out Substrate's "Create a Pallet" Tutorial
Module is not recognised when i try to build my node after creating my pallet

dharjeezy
- 111
- 3
0
votes
1 answer
Error when cargo build node-template substrate
When I run cargo build --release, it happened like that
kali in ~/project/substrate-node-template on branch tags/v3.0.0 >
cargo build --release -p node-template
error: failed to create…

CocDap
- 180
- 4
0
votes
1 answer
Polkadot: Weird Transaction Hash using JS API with Westend chain
I’m using the Polkadot JS API to send transactions on Westend.
For that, the snippet is something like this:
const hash = await api.tx.balances
.transfer(to, amount)
.signAndSend(from, { tip, nonce: -1 })
.catch(e => {
…

Daniel Portugal
- 161
- 4
0
votes
1 answer
how to query all staking rewards on polkadot.js given an access to archive node
so I'm looking at this api docs on polkadot.js https://polkadot.js.org/docs/substrate/storage#staking
but I could not figure which one to use to actually query all the staking rewards given an account ID / publish address.
I was thinking I would…

jhon alino
- 85
- 1
- 9
0
votes
0 answers
How to print value NegativeImbalance when withdraw some free balance (balance pallet)
In my code I have:
let withdraw_balance = as Currency<_>>::withdraw(&participant,workshop.fee,WithdrawReasons::RESERVE,ExistenceRequirement::KeepAlive);
And I debug like…

CocDap
- 180
- 4
0
votes
1 answer
"An extrinsic failed" when following Add a Pallet to Your Runtime tutorial
I've added nicks pallet as in Add a Pallet to Your Runtime tutorial
My changes are here https://github.com/led73/substrate-node-template/commit/8f3025a73b35804edf7c8dd7cd5630b387f2d344
But when I try to interact with the pallet and setName, it fails…
0
votes
0 answers
Creating a private Polkadot Blockchain using Node Template
Hello Guys I have just started development on polkadot and have went through their documents and tutorials, I want to build a private parachain that is open to other node which can connect given they have permissions. For now using their starter…

Taaha Waseem
- 1
- 2