You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> This is a minimal template for creating a blockchain based on Polkadot SDK.
9
-
>
9
+
>
10
10
> This template is automatically updated after releases in the main [Polkadot SDK monorepo](https://github.com/paritytech/polkadot-sdk).
11
11
12
12
</div>
13
13
14
14
🤏 This template is a minimal (in terms of complexity and the number of components) template for building a blockchain node.
15
15
16
-
🔧 Its runtime is configured of a single custom pallet as a starting point, and a handful of ready-made pallets such as a [Balances pallet](https://paritytech.github.io/polkadot-sdk/master/pallet_balances/index.html).
16
+
🔧 Its runtime is configured of a single custom pallet as a starting point, and a handful of ready-made pallets
17
+
such as a [Balances pallet](https://paritytech.github.io/polkadot-sdk/master/pallet_balances/index.html).
17
18
18
19
👤 The template has no consensus configured - it is best for experimenting with a single node network.
19
20
20
21
## Template Structure
21
22
22
23
A Polkadot SDK based project such as this one consists of:
23
24
24
-
- 💿 a [Node](./node/README.md) - the binary application.
25
-
- 🧮 the [Runtime](./runtime/README.md) - the core logic of the blockchain.
26
-
- 🎨 the [Pallets](./pallets/README.md) - from which the runtime is constructed.
25
+
* 💿 a [Node](./node/README.md) - the binary application.
26
+
* 🧮 the [Runtime](./runtime/README.md) - the core logic of the blockchain.
27
+
* 🎨 the [Pallets](./pallets/README.md) - from which the runtime is constructed.
27
28
28
29
## Getting Started
29
30
@@ -62,9 +63,9 @@ docker run --rm polkadot-sdk-minimal-template --dev
62
63
63
64
Development chains:
64
65
65
-
- 🧹 Do not persist the state.
66
-
- 💰 Are preconfigured with a genesis state that includes several prefunded development accounts.
67
-
- 🧑⚖️ Development accounts are used as `sudo` accounts.
66
+
* 🧹 Do not persist the state.
67
+
* 💰 Are preconfigured with a genesis state that includes several prefunded development accounts.
68
+
* 🧑⚖️ Development accounts are used as `sudo` accounts.
68
69
69
70
### Connect with the Polkadot-JS Apps Front-End
70
71
@@ -84,12 +85,16 @@ available on [IPFS](https://dotapps.io/).
84
85
85
86
➡️ Any pull requests should be directed to this [source](https://github.com/paritytech/polkadot-sdk/tree/master/templates/minimal).
86
87
87
-
😇 Please refer to the monorepo's [contribution guidelines](https://github.com/paritytech/polkadot-sdk/blob/master/docs/contributor/CONTRIBUTING.md) and [Code of Conduct](https://github.com/paritytech/polkadot-sdk/blob/master/docs/contributor/CODE_OF_CONDUCT.md).
88
+
😇 Please refer to the monorepo's
89
+
[contribution guidelines](https://github.com/paritytech/polkadot-sdk/blob/master/docs/contributor/CONTRIBUTING.md) and
90
+
[Code of Conduct](https://github.com/paritytech/polkadot-sdk/blob/master/docs/contributor/CODE_OF_CONDUCT.md).
88
91
89
92
## Getting Help
90
93
91
94
🧑🏫 To learn about Polkadot in general, [Polkadot.network](https://polkadot.network/) website is a good starting point.
92
95
93
-
🧑🔧 For technical introduction, [here](https://github.com/paritytech/polkadot-sdk#-documentation) are the Polkadot SDK documentation resources.
96
+
🧑🔧 For technical introduction, [here](https://github.com/paritytech/polkadot-sdk#-documentation) are
97
+
the Polkadot SDK documentation resources.
94
98
95
-
👥 Additionally, there are [GitHub issues](https://github.com/paritytech/polkadot-sdk/issues) and [Substrate StackExchange](https://substrate.stackexchange.com/).
99
+
👥 Additionally, there are [GitHub issues](https://github.com/paritytech/polkadot-sdk/issues) and
Copy file name to clipboardExpand all lines: templates/minimal/node/README.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,17 @@
2
2
3
3
ℹ️ A node - in Polkadot - is a binary executable, whose primary purpose is to execute the [runtime](../runtime/README.md).
4
4
5
-
🔗 It communicates with other nodes in the network, and aims for [consensus](https://wiki.polkadot.network/docs/learn-consensus) among them.
5
+
🔗 It communicates with other nodes in the network, and aims for
6
+
[consensus](https://wiki.polkadot.network/docs/learn-consensus) among them.
6
7
7
8
⚙️ It acts as a remote procedure call (RPC) server, allowing interaction with the blockchain.
8
9
9
-
👉 Learn more about the architecture, and a difference between a node and a runtime [here](https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/wasm_meta_protocol/index.html).
10
+
👉 Learn more about the architecture, and a difference between a node and a runtime
👇 Here are the most important files in this node template:
12
14
13
-
-[`chain_spec.rs`](./src/chain_spec.rs): A chain specification is a source code file that defines the chain's initial (genesis) state.
14
-
-[`service.rs`](./src/service.rs): This file defines the node implementation. It's a place to configure consensus-related topics. In favor of minimalism, this template has no consensus configured.
15
+
-[`chain_spec.rs`](./src/chain_spec.rs): A chain specification is a source code file that defines the chain's
16
+
initial (genesis) state.
17
+
-[`service.rs`](./src/service.rs): This file defines the node implementation.
18
+
It's a place to configure consensus-related topics. In favor of minimalism, this template has no consensus configured.
🧑🏫 Please refer to [this guide](https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/guides/your_first_pallet/index.html) to learn how to write a basic pallet.
ℹ️ The runtime (in other words, a state transition function), refers to the core logic of the blockchain that is responsible for
4
-
validating blocks and executing the state changes they define.
3
+
ℹ️ The runtime (in other words, a state transition function), refers to the core logic of the blockchain that is
4
+
responsible for validating blocks and executing the state changes they define.
5
5
6
-
💁 The runtime in this template is constructed using ready-made FRAME pallets that ship with [Polkadot SDK](https://github.com/paritytech/polkadot-sdk), and a [template for a custom pallet](../pallets/README.md).
6
+
💁 The runtime in this template is constructed using ready-made FRAME pallets that ship with
7
+
[Polkadot SDK](https://github.com/paritytech/polkadot-sdk), and a [template for a custom pallet](../pallets/README.md).
7
8
8
-
👉 Learn more about FRAME [here](https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/polkadot_sdk/frame_runtime/index.html).
0 commit comments