Questions tagged [substrate-node-template]

Posts that reference the Substrate node template, a basic Substrate node typically used for getting started with Substrate.

Filter by
Sorted by
Tagged with
1 vote
0 answers
18 views

How to replace substrate address(H256) to Ethereum Address(H160)

I need to replace the substrate address(H256) in fresh substrate-node-template to Ethereum Address(H160). Is it possible? If yes, Is it mandatory to integrate frontier in the node-template? Do we have ...
Deepak Chaudhary's user avatar
0 votes
1 answer
37 views

Implementing Load Balancing for Multiple Validator Nodes on AWS: Seeking Suggestions

I've set up two instances on AWS, each running a validator node for a blockchain project. Here’s a quick breakdown of my configuration: First Server: Runs a validator node and a reverse proxy. It's ...
Humayun Ahmad Rajib's user avatar
-1 votes
1 answer
21 views

What is the max value we can use for `--rpc-max-connections ` flag of substrate node template?

I am using substrate node template. We know it comes with many flag . I want to know specifics about --rpc-max-conections . We know that default is 100 but i want to know is there any maximum ...
Md. Raisul Islam Rony's user avatar
0 votes
0 answers
8 views

Build a Blockchain Tutorial - Front End Template stuck sending

Im pretty new to this whole thing, but I have managed to get a local node started and the front end template up. The Blockchain is finalizing blocks, and the template header is actively updating. When ...
CODY's user avatar
  • 1
0 votes
1 answer
11 views

How to send data from parachain to relaycahin

Hello everyone I am working on a project where I need to send some data or messages from my custom parachain to a custom relaychain, then I want to map with a particular account and store it on ...
manish singh's user avatar
0 votes
1 answer
25 views

Compilation Error with Substrate on Rust Nightly: #![feature] May Not Be Used on the Stable Release Channel

I'm working on a Substrate-based blockchain project and encountering a compilation error when trying to build my node runtime. The error indicates that nightly features are being used while the stable ...
Mr Coder's user avatar
  • 923
0 votes
2 answers
19 views

Unable to connect to polkadot node running on wsl to polkadot js app

I am running polkadot-sdk on wsl I start the node: ./target/release/polkadot --dev and then when I try connecting it to polkadotjs app on browser in windows it doesn't connect It just says - "...
Rishi's user avatar
  • 1
0 votes
0 answers
10 views

How to transfer assets from parachain to relay chain

As I'm new to substrate and polkadot I don't know how to transfer assets from parachain to relay chain using xcm can anyone please help me to do this.
Preethi M's user avatar
0 votes
1 answer
14 views

Resolving "Bootnode on a Different Chain" Error in Substrate Network Setup

I am in the process of setting up a Substrate-based blockchain network and encountered a challenging issue while trying to connect my node to a bootnode. The error I'm facing is as follows: Bootnode ...
Md. Nur E Azam's user avatar
0 votes
0 answers
32 views

Bittensor Subtensor Chain

Does anyone know how to run a public subtensor node and synchronize with Bittensor network on nakamoto instead of the current finney ? There are some nodes currently running on nakamoto chain. I am ...
kapitankot's user avatar
0 votes
1 answer
31 views

I want to Send data to relaychain from parachain?

I want to send JSON or normal String Message from Parachain to relay chain but i new in the substrate and I am finding it difficult. I am using the Polkadot-sdk template for relaychain and substrate-...
manish singh's user avatar
1 vote
1 answer
26 views

Would it be possible to make HTTP request on chain through pallet extrinsic?

We can make HTTP Get and Post request through Offchain worker. Can we also do the same on chain through pallet extrinsic? Is there any restriction?
Boleng's user avatar
  • 475
0 votes
0 answers
16 views

What can Substrate and Polkadot do for me?

What is the best and quickest way, for a layman, who has very little, to no experience, at all, in coding and/or developing, to play catch-up, so that he/she might be brought-up-to-speed, enough to ...
C.H. Hawk's user avatar
1 vote
0 answers
33 views

Template Module Pallet call

I'm trying to call the do_something function in template_pallet runtime. I'm running locally the node substrate version : 4.0.0-dev-2ad9b78c7b5 I'm trying to send an extrinsics from Rust code using ...
X6Entrepreneur's user avatar
0 votes
0 answers
16 views

How to send HTTP POST request using Substrate Offchain worker

I am using Substrate official example to send HTTP POST request, which is mentioned here https://docs.substrate.io/reference/how-to-guides/offchain-workers/offchain-http-requests/#read-and-submit-the-...
Boleng's user avatar
  • 475
0 votes
1 answer
31 views

Substrate Offchain Worker - failed to fetch sample price

I am trying to use Substrate Offchain Worker. I implemented as mentioned here https://github.com/paritytech/polkadot-sdk/tree/master/substrate/frame/examples/offchain-worker. I am using same sample ...
Boleng's user avatar
  • 475
0 votes
1 answer
20 views

Run Substrate-node-template with wss and secure rpc

I was running substrate node template with non secure ws connection . After integrating with pallet-evm,pallet-ethereum and other precompiles , I wanted to connect to metamask with secure rpc ...
Ronnie Ahmed's user avatar
1 vote
1 answer
38 views

Syncing with a chain that requires host functions deprecated by the Substrate

I'm working on upgrading a Substrate-based standalone chain that was launched several years ago. Recently, we made a transition from polkadot-v0.9.34 to polkadot-v0.9.35. After we did that, we are no ...
Yahor Tsaryk's user avatar
0 votes
0 answers
10 views

Connecting a libp2p node to the Substrate Parachain Network

Goal Add a libp2p node to the Substrate parachain network to have Idle 0 peers to 1 peer. Method I'm using mdns as the discovery mechanism. Libp2p Config: const options = { peerId: peerId, addresses:...
Peter Kim's user avatar
0 votes
0 answers
30 views

How inactive issuance get's calculated or how do we customize it in substrate-node-template

So i was working with substrate-node-template . I can see how total issuance is getting calculated from substrate node template but confused of how would i set up inactive issuance . What are the ...
Md. Raisul Islam Rony's user avatar
0 votes
1 answer
15 views

Change chain_specs to mint custom total supply of custom coin

So, I am working with substrate-node-template . I already changed tokenSymbol and tokenDecimals,i want to mint specific amount to native coin(initially) , but confused where to start . Any insight ...
Ronnie Ahmed's user avatar
0 votes
0 answers
18 views

Not able to add any crates in substrate-node-template

I am working on substrate.where I want to use some of create like pinata_sdk,Openssl etc but I am not able to import or add in cargo.tmol file where I add I get this error: ` --- stderr Compiling sp-...
manish singh's user avatar
0 votes
0 answers
25 views

Is there a standalone node-template that points to the polkadot-sdk repo?

Are there are node templates that one can use readily without tinkering with the versions and tags? Something that works out of the box? And it should point to the polkadot-sdk repo and not the ...
Marlo's user avatar
  • 111
0 votes
1 answer
24 views

Create Custom coin using pallet_balance of Substrate

So a Quick Question ? I am having trouble customizing the existing pallet_balance to create a new crypto coin in my own image .I am using Substrate-Node-Template.
Md. Raisul Islam Rony's user avatar
1 vote
0 answers
21 views

problem with pallets bounties & treasury

hello I am trying to add the bounties pallet to the substrate node-template. the version I am using is "release-polkadot-v1.7.0". I keep getting the following error: the traitframe\_support::...
Kazunobu Ndong's user avatar
0 votes
2 answers
47 views

Build error on substrate-node-template with missing target

I am getting this error: Rust WASM toolchain not installed, please install it! Further error information: ------------------------------------------------------------ Compiling wasm-test v1....
abhi3700's user avatar
  • 131
0 votes
1 answer
31 views

Automatic creation of a collection in the NFTs pallet

I have a custom pallet that uses the NFTs pallet for the creation of NFTs. This pallet should have its own designated collection. It will only mint there. Ideally I would like this collection to be ...
Arjan van Eersel's user avatar
1 vote
0 answers
30 views

Is it possible to run a node with only build file and boot node of the chain?

If i have build file(i.e target file) and boot node of the substrate chain. Can I join the network by running my validator node? Note: Our goal is to minimise the effort required for users who wish to ...
Deepak Chaudhary's user avatar
3 votes
1 answer
34 views

How to add 3 validators node from different networks?

I want to run our substrate chain with 3 validators, and these validators will run in 3 different network. I'm following this documentation: https://docs.substrate.io/tutorials/build-a-blockchain/add-...
Deepak Chaudhary's user avatar
1 vote
1 answer
79 views

How to feed private data(confidential information) in Substrate chain through oracle?

Is there any Oracle solution available to feed private data to Substrate chain? Feeding data to chain has already been answered here How can I build a price feed oracle for my Substrate chain?. And ...
Boleng's user avatar
  • 475
3 votes
0 answers
44 views

Explorer compatibility with blockchain node version v1.0.0

The issue I ran in is finding an explorer version, which is compatible with substrate version v1.0.0. I found that version of explorer below v0.133.1 (https://github.com/polkadot-js/apps/releases/tag/...
Raid Ateir's user avatar
1 vote
1 answer
79 views

Implementing pallet_contracts into node

I'm trying to implement pallet_contracts into my node, but that results in an error. I don't get why I'm getting this error and what I'm supposed to do with it. Checking pallet-contracts v4.0.0-...
Arjan van Eersel's user avatar
1 vote
1 answer
33 views

How can I change --rpc-max-connections on already running substrate-based node?

I have already running substrate-based node and I started to get error: 429 Too many requests: Too many connections. This happens due to HTTP requests that my FE produces. After research I ...
Artem Levchuk's user avatar
1 vote
0 answers
19 views

"EVM front tier remote code execution vulnerability"

Anyone using the latest EVM frontTier Pallet their - seems to be a possibility for a remote attacker to exploit your nodes remotely and control the nodes and every other nodes within your system, that'...
simon 's user avatar
  • 11
0 votes
0 answers
29 views

What is the best way to implement Token economics in Substrate based blockchain?

I want to implement Token economics in my Substrate based chain. Can someone please guide what is the best way to implement it? Which pallets should I use? Is there any example?
Boleng's user avatar
  • 475
1 vote
2 answers
74 views

How to add block author through InherentDataProvider in pow consensus?

I'm working on pow consensus chain and want to fetch block author in a pallet. I'm following Academy-PoW repo for adding block author through InherentDataProvider. But here default is passed in-place ...
Vitthal agarwal's user avatar
1 vote
1 answer
30 views

setup a constant inflation rate every era

trying to figure out a way to have a constant inflation rate for every era e.g to a 5% of total supply so any hint or clue how it goes with this configuration without setting min/max inflation into ...
Rehan's user avatar
  • 167
0 votes
1 answer
50 views

Thread 'tokio-runtime-worker' panicked at 'Integer overflow when casting to u64'

I am running substrate based solo chain using AURA and GRANDPA. I have upgraded the runtime to use polkadot v0.9.27 branch and it was working fine for some days. now suddenly my nodes are getting this ...
Faraz Ahmad's user avatar
2 votes
3 answers
108 views

Error Bad origin on custom XCM integration

I am building custom XCM pallet. While executing specific call: The destination is of ParaId type. match send_xcm::<T::XcmSender>( (Parent, Junction::Parachain(destination.into()...
Dudo's user avatar
  • 21
0 votes
0 answers
20 views

is it necessary to download all the dependencies and the full target file to compile and build any contract?

due to I have limited internet in my country , I can not download the full building files after I wrote the contract and need to only see if there are any errors and need to run the tests . so if I ...
castle_chain's user avatar
2 votes
2 answers
72 views

How to find the block author in pow substrate chain?

How to find the block author in pow substrate chain?
Vitthal agarwal's user avatar
0 votes
1 answer
33 views

I have an error while compiling the substrate node

I got this error after trying to install the substrate-contract-node : 1) I download rustc rustc --version rustc 1.75.0 (82e1608df 2023-12-21) 2) I cloned the repo I followed the instruction to ...
castle_chain's user avatar
2 votes
1 answer
35 views

How to make a fn only callable by an offchain worker?

I don't think this is possible but is it? I have data that comes from an API that ultimately needs to be stored onchain which I don't want to risk having done through a Pays::No fn in case the call ...
bobby dy's user avatar
0 votes
1 answer
20 views

Do we need to regenerate subxt metadata after upgrading substrate node?

I have a Rust application, which is using Subxt library to connect with a running node and submitting the transaction. This application is running on 3 different instances. I need to perform a runtime ...
Boleng's user avatar
  • 475
2 votes
1 answer
36 views

storage function still erroring

Code: #![cfg_attr(not(feature = "std"), no_std)] #[frame_support::pallet] pub mod pallet { use frame_support::pallet_prelude::*; use frame_system::pallet_prelude::*; use sp_std::...
bele luther's user avatar
1 vote
1 answer
28 views

Keep on getting same error after cargo checking the code

Code: #![cfg_attr(not(feature = "std"), no_std)] #[frame_support::pallet] pub mod pallet { use frame_support::pallet_prelude::*; use frame_system::pallet_prelude::*; use sp_std::...
bele luther's user avatar
2 votes
0 answers
79 views

How should I add offchain worker(OCW) in frontier when using AccountId20?

In order to add an offchain worker with using AccountId20 as the runtime account type I did following things. add associated type type AuthorityId: AppCrypto<Self::Public, Self::Signature>; in ...
xiao liang's user avatar
3 votes
1 answer
38 views

Subsrate Node Build error: cannot find macro `thread_local` in this scope

Whole error: error: cannot find macro `thread_local` in this scope --> /home/hardeep/.cargo/git/checkouts/substrate-7e08433d4c370a21/948fbd2/primitives/externalities/src/scope_limited.rs:22:1 ...
Gurtej Singh's user avatar
1 vote
1 answer
50 views

How are valid transactions distributed to block authoring nodes?

I am new to Substrate and currently reading through all the great documentation that is available. I understand the concept of block authoring and finalization, but the following is a bit unclear to ...
Sebastian Dine's user avatar
1 vote
1 answer
24 views

Is it possible to define a storage inside the pallet without config trait?

Actually I want to define a storage without config trait but if I'm doing this then I'm getting lot of error. Is it possible? /// Author of current block. #[pallet::storage] pub type Author<...
Deepak Chaudhary's user avatar

1
2 3 4 5
12