Skip to main content
29 votes

How do I become a Substrate Developer?

This is a hard question to answer but I will try to give my 2 ..'s on what was helpful for me when I started on the Substrate path as a Polkadot Support Engineer at Parity. Maybe some others can share ...
Bruno's user avatar
  • 8,355
12 votes

How can a project prolong a parachain slot lease in Kusama?

How to extend a slot on the relay chain To extend a slot on the relay chain the parachain team needs to secure a new slot via an auction. There are several approaches to doing so. Therefore your team ...
Santiago Balaguer's user avatar
11 votes

What is the best tutorial to convert a substrate-based standalone chain to a parachain?

There are a lot of tutorials on https://docs.substrate.io/tutorials/ Here is one to convert https://docs.substrate.io/reference/how-to-guides/parachains/convert-a-solo-chain/
11 votes
Accepted

Democracy rework in Substrate

The overall tracking issue for "new governance" is substrate#10252. New pallets for governance primitives have been introduced in: https://github.com/paritytech/substrate/pull/10195 https://...
Gav's user avatar
  • 2,681
11 votes
Accepted

Why stakers tend to stake more on DOT than KSM?

Kusama supports 1,000 active validators while Polkadot only supports 300 currently. Kusama has 7,500 nominators. Polkadot has 24,000 nominators. This will naturally lead to more validators being ...
Shawn Tabrizi's user avatar
  • 16k
9 votes
Accepted

Teach me history: Kusama, Society and huge payouts

The society was launched on January 19th, 2020 with an onchain convention of membership As you can see in Luke's answer, it took half a year for the first dozen members to join. The society doesn't &...
Joshua Mir's user avatar
9 votes
Accepted

How do I check what metadata version a chain is running?

I believe your confusion stems from "metadata version" and "runtime version" and what the metadata contains at a specific point of the chain. Metadata exposes all the constants, ...
Jaco's user avatar
  • 5,865
9 votes
Accepted

api.rpc.chain.subscribeFinalizedHeads missing blocks

The finalization doesn't happen block-by-block, but rather can finalize a chain. Consider the following - A | B |--| C D | | E F | G Assume that A & B are finalized. A fork happens. Now when G ...
Jaco's user avatar
  • 5,865
7 votes
Accepted

What is Gossamer and how does it compare to Substrate?

@Squirrel is correct that this is not strictly a Substrate question, but I still think it's a great question nonetheless ;-) As you said, @Afr, Gossamer is a Golang implementation of the Polkadot Host,...
Dan Forbes's user avatar
7 votes

types bundle for kusama

This was an issue on older versions of the JS API. This was fixed in version 7.10.1 - https://github.com/polkadot-js/api/releases/tag/v7.10.1 The background to this is that to support multiple ...
Jaco's user avatar
  • 5,865
7 votes

How can I get my parachain to produce blocks? (sanity checklist)

The common sanity checks are: Check that the genesis-head-state which you submitted in your parathread and the parachain-genesis-state that shows on your parachain logs are the same. If they aren't ...
Ramsey - Decentration's user avatar
7 votes
Accepted

Why only top 256 nominators are rewarded for an oversubscribed validator on Polkadot?

Two reasons, the former being more important: It somehow encourages decentralization. One very large validator, despite being very profitable, will have a limited capacity for nominators to join and ...
kianenigma's user avatar
  • 2,799
7 votes

What criteria do blockchains consider when deciding on Existential Deposit?

On Polkadot/Kusama the ED has been reduced in the past via democracy. Basically this was driven by the increase in price, i.e. what made sense at chain launch didn't make sense anymore. At the end of ...
RosaryBeads's user avatar
7 votes

Teach me history: Kusama, Society and huge payouts

Also, adding some extra links to explore: https://ksmsociety.io/ https://app.subsocial.network/@KappaSigmaMu https://app.subsocial.network/@KappaSigmaMu/the-human-blockchain-join-the-kappa-sigma-mu-...
RTTI-5220's user avatar
  • 266
7 votes

How do I check what metadata version a chain is running?

I believe Jaco and Sacha explained the "content" concept quite nicely. If you wish to only use the JS UI to query, you can do the following making RPC calls (the lazy version of cli tools) - ...
RosaryBeads's user avatar
7 votes
Accepted

Substrate connect & JS API

As of the latest API release this week, the ScProvider is actually exported in the @polkadot packages. To take advantage of it, ensure that you have at least @polkadot/api 7.14.3 installed. (Prior to ...
Jaco's user avatar
  • 5,865
6 votes
Accepted

What is required to integrate a Parachain into Kusama?

To become a parachain on Kusama, you have to acquire a parachain slot by winning it through a parachain slot auction - https://kusama.network/auctions/ There is also a provision to become a parachain ...
DrW3RK's user avatar
  • 956
6 votes
Accepted

What is the relay-chain name for Kusama for chain-spec?

The chain name for the Kusama relay-chain is kusama. The kusama-native is a feature you might want to enable when building your own Kusama spec. For the purpose of preparing a parathread chainspec, it ...
William Freudenberger's user avatar
6 votes

Does the auction happen automatically during Crowd Loan?

Adding to William's answer, here is an example that shows the bidding in action. When a campaign receives a contribution, the bid is automatically placed with the updated balance. In the screenshot ...
DrW3RK's user avatar
  • 956
5 votes
Accepted

Why is the Rococo `maxCodeSize` too small to do adequate incremental runtime upgrades?

Generally, you should use the x_runtime.compact.compressed.wasm which is about a factor of 3 smaller than the compact wasm. This runtime is compressed with zlib and the node knows to decompress it ...
rob's user avatar
  • 2,126
5 votes
Accepted

Speed up kusama-local onboarding

Here is another useful feature that no one knows it exists (until now I hope): fast-runtime So that you can build a Kusama local runtime with reduced session time without waiting hours for onboarding. ...
Bryan Chen's user avatar
5 votes
Accepted

How to compute the starting and ending of a lease period?

On Kusama and Polkadot - Given a lease period "x", you will need to retrieve the storage constants slots.leasePeriod and slots.leaseOffset. Then compute the height at which the lease period ...
Cromm's user avatar
  • 321
5 votes
Accepted

Historic balances on Kusama

The short answer: use const free_then = api_at.query.balances.freeBalance(query_addr) For the longer version... You are correct that Kusama went through a number of runtime upgrades and in the current ...
Jaco's user avatar
  • 5,865
5 votes
Accepted

How can I fetch the bagsList?

After some more research I found that BagsList is not sorted because it is a Map not an array! If someone wants to find if its address is included in the current round/era of staking: const ...
Kami's user avatar
  • 537
5 votes

What is required to integrate a Parachain into Kusama?

For both Kusama, there are slot auctions, the same happens on Polkadot. Auction run for a duration and the winner of the auction wins a slot. To win, you either need to have sufficient funds to secure ...
RosaryBeads's user avatar
5 votes

How do I check what metadata version a chain is running?

The metadata version is specified as an enum variant in the frame_metadata crate, which all runtime pallets use. When a runtime gets compiled to Wasm, the most reliable way to know its metadata ...
Sacha Lansky's user avatar
  • 2,640
5 votes

Does the auction happen automatically during Crowd Loan?

A crowdloan automatically places a bid in the on_initialize hook (e.g. every block) after entering the ending period if the raised funds have increased since the last bid, see here.
William Freudenberger's user avatar
5 votes

Are Parathreads fully functional on Kusama?

The Reddit answer is correct. They exist as an abstraction because the lifecycle of a parachain starts from and ends in being a parathread, but the core functionality (i.e. pay-as-you-go, generating ...
kianenigma's user avatar
  • 2,799
5 votes
Accepted

Using polkadot.js api, how can we list the members of a Kusama nomination pool?

It is a map. So to get .entries() you specify no parameters as per the docs. Params would only come into play with higher-order maps as per docs. To get all the entries of the pools - const e = await ...
Ben Travers's user avatar
5 votes
Accepted

About the total mint token in polkadot and kusama

You could query the total issuance at different block heights/hash. Then compare the results. But this will ignore the burned tokens if you don't mind.
AurevoirXavier's user avatar
  • 10.4k

Only top scored, non community-wiki answers of a minimum length are eligible