-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Substrate.io Migration] Tutorials -> Build a Parachain -> Connect a …
…parachain (#22) * fix: adding prepare substrate relay chain * fiox: formatting error * fix: description * fix: paraphrasing * fix: vale warning * fix: formatting * fix: adding conclusion to the tutorial * fix: formatting * fix: formatting * git: adding intro and build the parachain template section * fix: adding wip * fix: updating prepare relay chain output and commands * fix: adding build a parachain complete process * fix: vale suggestion * fix: formatting * fix: typo and adding abs route to build a local blockchain tutorial * fix: paraphrasing * fix: updating deprecated route * fix: paraphrasing * fix: formatting * fix: chain specs decoupled from substrate website * Update tutorials/polkadot-sdk/build-a-parachain/prepare-relay-chain.md Co-authored-by: 0xLucca <[email protected]> * fix: typo * fix: removing redundant commands on terminal elements * fix: adding disclaimer for chain spec generation * fix: removing redundant commands on terminal elements * fix: removing unnecessary info * fix: addin small clarification about sudo txs * fix: clarification about sudo changes * Update tutorials/polkadot-sdk/build-a-parachain/connect-a-parachain.md Co-authored-by: 0xLucca <[email protected]> * fix: adding missing terminal output * fix: adding image to register with the local relay chain process, step 6 * Apply suggestions from code review Co-authored-by: Erin Shaben <[email protected]> * fix: moving terminal outputs to code snippets * fix: adding clarification over resetting bc state * fix: adding hook to further tutorials * moves terminal output elements to snippets --------- Co-authored-by: 0xLucca <[email protected]> Co-authored-by: Erin Shaben <[email protected]> Co-authored-by: DAWN KELLY <[email protected]>
- Loading branch information
1 parent
84b1c77
commit 01803d1
Showing
16 changed files
with
354 additions
and
1 deletion.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
...e/tutorials/polkadot-sdk/build-a-parachain/connect-a-parachain/genesis-state.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div id="termynal" data-termynal> | ||
<span data-ty="input"><span class="file-path"></span>./target/release/parachain-template-node export-genesis-state --chain raw-parachain-chainspec.json para-2000-genesis-state</span> | ||
<span data-ty="progress">2024-09-10 14:41:13 🔨 Initializing Genesis block/state (state: 0xb089…1830, header-hash: 0x6b0b…bd69)</span> | ||
<span data-ty="input"><span class="file-path"></span></span> | ||
</div> |
14 changes: 14 additions & 0 deletions
14
...torials/polkadot-sdk/build-a-parachain/connect-a-parachain/parachain-running.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div id="termynal" data-termynal> | ||
<span data-ty="input"><span class="file-path"></span>...</span> | ||
<span data-ty>[Relaychain] 💤 Idle (2 peers), best: #90 (0x5f73…1ccf), finalized #87 (0xeb50…68ea), ⬇ 1.4kiB/s ⬆ 1.1kiB/s</span> | ||
<span data-ty>[Parachain] 💤 Idle (0 peers), best: #0 (0x3626…fef3), finalized #0 (0x3626…fef3), ⬇ 1.2kiB/s ⬆ 0.7kiB/s</span> | ||
<span data-ty>[Relaychain] 💤 Idle (2 peers), best: #90 (0x5f73…1ccf), finalized #88 (0xd43c…c3e6), ⬇ 0.7kiB/s ⬆ 0.5kiB/s</span> | ||
<span data-ty>[Parachain] 💤 Idle (0 peers), best: #0 (0x3626…fef3), finalized #0 (0x3626…fef3), ⬇ 1.0kiB/s ⬆ 0.6kiB/s</span> | ||
<span data-ty>[Relaychain] 👶 New epoch 9 launching at block 0x1c93…4aa9 (block slot 281848325 >= start slot 281848325)</span> | ||
<span data-ty>[Relaychain] 👶 Next epoch starts at slot 281848335</span> | ||
<span data-ty>[Relaychain] ✨ Imported #91 (0x1c93…4aa9)</span> | ||
<span data-ty>[Parachain] Starting collation. relay_parent=0x1c936289cfe15fabaa369f7ae5d73050581cb12b75209c11976afcf07f6a4aa9 at=0x36261113c31019d4b2a1e27d062e186f46da0e8f6786177dc7b35959688ffef3</span> | ||
<span data-ty>[Relaychain] 💤 Idle (2 peers), best: #91 (0x1c93…4aa9), finalized #88 (0xd43c…c3e6), ⬇ 1.2kiB/s ⬆ 0.7kiB/s</span> | ||
<span data-ty>[Parachain] 💤 Idle (0 peers), best: #0 (0x3626…fef3), finalized #0 (0x3626…fef3), ⬇ 0.2kiB/s ⬆ 37 B/s</span> | ||
<span data-ty="input"><span class="file-path"></span></span> | ||
</div> |
7 changes: 7 additions & 0 deletions
7
...s/polkadot-sdk/build-a-parachain/connect-a-parachain/raw-chain-spec-terminal.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div id="termynal" data-termynal> | ||
<span data-ty="input"><span class="file-path"></span>./target/release/parachain-template-node build-spec --chain plain-parachain-chainspec.json --disable-default-bootnode --raw > raw-parachain-chainspec.json</span> | ||
<span data-ty="progress">2024-09-10 14:34:58 Building chain spec</span> | ||
<span data-ty="progress">2024-09-10 14:34:59 assembling new collators for new session 0 at #0</span> | ||
<span data-ty="progress">2024-09-10 14:34:59 assembling new collators for new session 1 at #0</span> | ||
<span data-ty="input"><span class="file-path"></span></span> | ||
</div> |
19 changes: 19 additions & 0 deletions
19
...rials/polkadot-sdk/build-a-parachain/connect-a-parachain/start-collator-node.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<div id="termynal" data-termynal> | ||
<span data-ty="input"><span class="file-path"></span>./target/release/parachain-template-node \ | ||
--charlie \ | ||
--collator \ | ||
--force-authoring \ | ||
--chain raw-parachain-chainspec.json \ | ||
--base-path /tmp/charlie-parachain/ \ | ||
--unsafe-force-node-key-generation \ | ||
--port 40333 \ | ||
--rpc-port 8844 \ | ||
-- \ | ||
--chain INSERT_RELAY_CHAIN_PATH/local-raw-spec.json \ | ||
--port 30333 \ | ||
--rpc-port 9946</span> | ||
<span data-ty>2024-09-10 16:26:30 [Parachain] PoV size { header: 0.21875kb, extrinsics: 3.6103515625kb, storage_proof: 3.150390625kb }</span> | ||
<span data-ty>2024-09-10 16:26:30 [Parachain] Compressed PoV size: 6.150390625kb</span> | ||
<span data-ty>2024-09-10 16:26:33 [Relaychain] 💤 Idle (2 peers), best: #1729 (0x3aa4…cb6b), finalized #1726 (0xff7a…4352), ⬇ 9.1kiB/s ⬆ 3.8kiB/s</span> | ||
<span data-ty="input"><span class="file-path"></span></span> | ||
</div> |
Binary file added
BIN
+116 KB
...s/tutorials/polkadot-sdk/build-a-parachain/connect-a-parachain/connect-a-parachain-1.webp
Binary file not shown.
Binary file added
BIN
+71.9 KB
.../tutorials/polkadot-sdk/build-a-parachain/connect-a-parachain/connect-a-parachain-10.webp
Binary file not shown.
Binary file added
BIN
+167 KB
...s/tutorials/polkadot-sdk/build-a-parachain/connect-a-parachain/connect-a-parachain-2.webp
Binary file not shown.
Binary file added
BIN
+38.4 KB
...s/tutorials/polkadot-sdk/build-a-parachain/connect-a-parachain/connect-a-parachain-3.webp
Binary file not shown.
Binary file added
BIN
+52 KB
...s/tutorials/polkadot-sdk/build-a-parachain/connect-a-parachain/connect-a-parachain-4.webp
Binary file not shown.
Binary file added
BIN
+156 KB
...s/tutorials/polkadot-sdk/build-a-parachain/connect-a-parachain/connect-a-parachain-5.webp
Binary file not shown.
Binary file added
BIN
+171 KB
...s/tutorials/polkadot-sdk/build-a-parachain/connect-a-parachain/connect-a-parachain-6.webp
Binary file not shown.
Binary file added
BIN
+66.5 KB
...s/tutorials/polkadot-sdk/build-a-parachain/connect-a-parachain/connect-a-parachain-7.webp
Binary file not shown.
Binary file added
BIN
+70.5 KB
...s/tutorials/polkadot-sdk/build-a-parachain/connect-a-parachain/connect-a-parachain-8.webp
Binary file not shown.
Binary file added
BIN
+230 KB
...s/tutorials/polkadot-sdk/build-a-parachain/connect-a-parachain/connect-a-parachain-9.webp
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
title: Build a Parachain Tutorials | ||
nav: | ||
- index.md | ||
- prepare-relay-chain.md | ||
- 'Prepare Relay Chain': 'prepare-relay-chain.md' | ||
- 'Connect a Parachain': 'connect-a-parachain.md' |
307 changes: 307 additions & 0 deletions
307
tutorials/polkadot-sdk/build-a-parachain/connect-a-parachain.md
Large diffs are not rendered by default.
Oops, something went wrong.