Skip to content

Commit ce8c871

Browse files
committed
refactor: chain terminology
1 parent dfefe64 commit ce8c871

File tree

8 files changed

+33
-32
lines changed

8 files changed

+33
-32
lines changed

pop-cli-for-appchains/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ Build custom blockchain that can operate as solo chains or connect to Polkadot f
66

77
Start building with the [Polkadot documentation](https://docs.polkadot.com/).
88

9-
**Ready to build your first chain?** [Start here!](guides/create-a-new-parachain/)
9+
**Ready to build your first chain?** [Start here!](guides/create-a-new-chain.md)

pop-cli-for-appchains/SUMMARY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
## GUIDES
1212

1313
* [Create a new chain](guides/create-a-new-chain.md)
14-
* [Build](guides/build-your-parachain.md)
14+
* [Build](guides/build-your-chain.md)
1515
* [Build your chain specification](guides/build-spec.md)
1616
* [Build your runtime deterministically](guides/build-deterministic-runtime.md)
1717
* [Test runtime upgrades](guides/test-runtime-upgrades.md)
1818
* [Benchmarking](guides/benchmarking/benchmarking-pallets-and-extrinsics.md)
1919
* [Deploy](guides/launch-a-chain/README.md)
20-
* [Launch a Chain in Development](guides/launch-a-chain/running-your-parachain.md)
20+
* [Launch a Chain in Development](guides/launch-a-chain/running-your-chain.md)
2121
* [Launch a Known Chain](guides/launch-a-chain/launch-a-known-chain.md)
2222
* [Launch a Chain to Paseo](guides/launch-a-chain/launch-a-chain-to-paseo.md)
2323
* [Launch Paseo](guides/launch-a-chain/launch-paseo.md)
Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# Build your parachain
1+
# Build your chain
22

3-
To build your parachain using Pop CLI
3+
To build your chain using Pop CLI
44

55
```shell
6-
cd my-appchain
6+
cd my-chain
77
pop build
88
```
99

1010
```
11-
┌ Pop CLI : Building a parachain
11+
┌ Pop CLI : Building a chain
1212
13-
Compiling parachain-template-runtime v0.1.0 (/Users/pop/src/my-appchain/runtime)
14-
Compiling parachain-template-node v0.1.0 (/Users/pop/src/my-appchain/node)
13+
Compiling parachain-template-runtime v0.1.0 (/Users/pop/src/my-chain/runtime)
14+
Compiling parachain-template-node v0.1.0 (/Users/pop/src/my-chain/node)
1515
Finished release [optimized] target(s) in 1m 20s
1616
1717
└ Build Completed Successfully!
@@ -20,25 +20,26 @@ pop build
2020
If you are outside the project's directory, you can specify the path
2121

2222
```shell
23-
pop build -p ./my-appchain
23+
pop build -p ./my-chain
2424
```
2525

26-
If you are building the parachain with the intent to onboard the parachain to a Polkadot Relay chain then you can run the following build command:
26+
If you are building the chain with the intent to onboard to a Polkadot Relay chain then you can run the following build command:
2727

2828
```
29-
pop build -p ../my-appchain --para_id 2000
29+
pop build -p ../my-chain --para_id 2000
3030
```
3131

32-
This command will build your parachain and generate the chain spec, WebAssembly runtime for the parachain, and generate the parachain genesis state needed for registering and onboarding a parachain onto the Relay chain.
32+
This command will build your chain and generate the chain spec, the WebAssembly runtime, and generate the chain genesis state needed for registering and onboarding onto the Relay chain.
3333

3434
#### Learning Resources
3535

3636
* 🧑‍🏫 To learn about Polkadot in general, [Polkadot.network](https://polkadot.network/) website is a good starting point.
37-
* ⭕ Learn more about parachains [here](https://wiki.polkadot.network/docs/learn-parachains).
37+
* ⭕ Learn more about chains [here](https://wiki.polkadot.network/docs/learn-parachains).
3838
* 🧑‍🔧 For technical introduction, [here](https://github.com/paritytech/polkadot-sdk#-documentation) are the Polkadot SDK documentation resources.
3939

4040
**Technical Support**
4141

4242
* [Polkadot Stack Exchange](https://polkadot.stackexchange.com/)
4343
* Create a question and tag it with "[`pop`](https://substrate.stackexchange.com/tags/pop/info)"
44-
* Share the StackExchange question in our [Pop Support Telegram channel](https://t.me/pop\_support)
44+
* Share the StackExchange question in our [Pop Support Telegram channel](https://t.me/pop_support)
45+

pop-cli-for-appchains/guides/create-a-new-chain.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Available templates:
1818
- Parity
1919
- Polkadot SDK's Parachain Template
2020

21+
> Note: Some upstream template names and binaries still say "parachain", this is a Polkadot Chain.
22+
2123
**Need help?**
2224

2325
Ask on [Polkadot Stack Exchange](https://polkadot.stackexchange.com/) (tag it [`pop`](https://substrate.stackexchange.com/tags/pop/info)) or drop by [our Telegram](https://t.me/onpopio). We're here to help!

pop-cli-for-appchains/guides/launch-a-chain/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: The following guides show how to launch a chain on Polkadot.
66

77
A typical development workflow for launching a chain on Polkadot: 
88

9-
1. [Launch a Development Network](running-your-parachain.md) with predefined chains.
9+
1. [Launch a Development Network](running-your-chain.md) with predefined chains.
1010
2. [Launch a Known Chain](launch-a-known-chain.md)
1111
3. [Launch a Chain on Paseo](launch-a-chain-to-paseo.md).
1212
4. [Deploy a Chain With Polkadot Deployment Portal](deploy-a-chain-polkadot-deployment-portal.md).

pop-cli-for-appchains/guides/launch-a-chain/launch-a-chain-to-paseo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Request PAS tokens on [Paseo Faucet](https://faucet.polkadot.io/).
6969
For the sake of this exercise, let's create a new chain project:
7070

7171
```
72-
pop new parachain my-chain
72+
pop new chain my-chain
7373
```
7474

7575
> The folder includes a `network.toml` file which can be ignored. This is to launch a network with the chain already onboarded.

pop-cli-for-appchains/guides/launch-a-chain/running-your-parachain.md renamed to pop-cli-for-appchains/guides/launch-a-chain/running-your-chain.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
# Launch a Chain in Development
22

3-
To run your parachain, you will need to spin up a local network with your parachain configuration.
3+
To run your chain, you will need to spin up a local network with your chain configuration.
44

55
The `pop up` command can help with this.
66

77
```shell
88
pop up network --help
99
```
1010

11-
> [!TIP]
12-
> For Pop CLI versions <`0.7.0` the `pop up network` command is `pop up parachain`
13-
14-
Say we want to spin up a local network for your parachain. First we need to define a [zombienet](https://github.com/paritytech/zombienet) network configuration file. You can do this in the root of your project.
11+
Say we want to spin up a local network for your chain. First we need to define a [zombienet](https://github.com/paritytech/zombienet) network configuration file. You can do this in the root of your project.
1512

1613
```
17-
cd my-appchain
14+
cd my-chain
1815
touch network.toml
1916
```
2017

@@ -42,9 +39,9 @@ default_command = "./target/release/parachain-template-node"
4239
name = "collator-01"
4340
```
4441

45-
> This network configuration will launch a relay chain using a `paseo-local` instance of Polkadot with two validator nodes to run the network: `alice` and `bob`. It will also run `parachain-template-node` with one collator node named `collator-01`.
42+
> This network configuration will launch a relay chain using a `paseo-local` instance of Polkadot with two validator nodes to run the network: `alice` and `bob`. It will also run `parachain-template-node` (the upstream binary name) with one collator node named `collator-01`.
4643
47-
Cool. Let's spin this up, ensuring that your parachain binary has been built using `pop build parachain`.
44+
Cool. Let's spin this up, ensuring that your chain binary has been built using `pop build`.
4845

4946
```shell
5047
pop up ./network.toml
@@ -55,7 +52,7 @@ If this is the first time you are running the `pop up` command, it will prompt y
5552
Once all the binaries are sourced, you should have output similar to this.
5653

5754
```
58-
┌ Pop CLI : Deploy a parachain
55+
┌ Pop CLI : Deploy a chain
5956
6057
◇ 🚀 Network launched successfully - ctrl-c to terminate
6158
│ ⛓️ paseo-local
@@ -72,17 +69,18 @@ Once all the binaries are sourced, you should have output similar to this.
7269
7370
```
7471

75-
Congrats! You have now spun up a network with your parachain running!
72+
Congrats! You have now spun up a network with your chain running!
7673

7774
> Under-the-hood, Pop CLI uses zombienet to spin up the network.\
7875
> For more advanced network configurations and options consult the [zombienet repo](https://github.com/paritytech/zombienet)
7976
8077
#### Learning Resources
8178

8279
* 🧑‍🏫 To learn about Polkadot in general, [Polkadot.network](https://polkadot.network/) website is a good starting point.
83-
* ⭕ Learn more about parachains [here](https://wiki.polkadot.network/docs/learn-parachains).
80+
* ⭕ Learn more about Polkadot Chains [here](https://wiki.polkadot.network/docs/learn-parachains).
8481
* 🧑‍🔧 For technical introduction, [here](https://github.com/paritytech/polkadot-sdk#-documentation) are the Polkadot SDK documentation resources.
8582

8683
**Need help?**
8784

8885
Ask on [Polkadot Stack Exchange](https://polkadot.stackexchange.com/) (tag it [`pop`](https://substrate.stackexchange.com/tags/pop/info)) or drop by [our Telegram](https://t.me/onpopio). We're here to help!
86+

welcome/hackathon-guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ pop up
9999
```
100100

101101
##### Handy Links
102-
- [Launch a Chain in Development](../pop-cli-for-appchains/guides/launch-a-chain/running-your-parachain.md)
103-
- [Launch a Chain to Paseo](../pop-cli-for-appchains/guides/launch-a-chain/launch-a-chain-to-paseo.md)
104-
- [Deploy a chain with Polkadot Deployment Portal](../pop-cli-for-appchains/guides/launch-a-chain/deploy-a-chain-polkadot-deployment-portal.md)
105-
- [Securely Sign Transactions from CLI](../pop-cli-for-appchains/guides/securely-sign-transactions-from-cli.md)
102+
- [Launch a Chain in Development](../pop-cli-for-chains/guides/launch-a-chain/running-your-chain.md)
103+
- [Launch a Chain to Paseo](../pop-cli-for-chains/guides/launch-a-chain/launch-a-chain-to-paseo.md)
104+
- [Deploy a chain with Polkadot Deployment Portal](../pop-cli-for-chains/guides/launch-a-chain/deploy-a-chain-polkadot-deployment-portal.md)
105+
- [Securely Sign Transactions from CLI](../pop-cli-for-chains/guides/securely-sign-transactions-from-cli.md)
106106

107107

108108
### Support & Contribute

0 commit comments

Comments
 (0)