Rebrand Solochain Template to PezkuwiChain

This commit applies the PezkuwiChain terminology to the Solochain Template.

Changes include:
- Renaming packages:
    - `solochain-template-node` -> `pez-solochain-template-node`
    - `solochain-template-runtime` -> `pez-solochain-template-runtime`
- Updating dependencies in `Cargo.toml` files.
- Fixing the `solochain-template-runtime` path in the root `Cargo.toml`.
- Updating `runtime/src/lib.rs` with new `spec_name` and `impl_name`.
- Rebranding documentation and comments (Polkadot -> Pezkuwi, Parachain -> TeyrChain).
- Updating `Dockerfile` binary names.
This commit is contained in:
google-labs-jules[bot]
2026-01-11 10:44:27 +00:00
parent f5608df8bf
commit c297b0f009
9 changed files with 38 additions and 38 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
license = "MIT-0" license = "MIT-0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
homepage = "https://substrate.io" homepage = "https://substrate.io"
repository = "https://github.com/paritytech/polkadot-sdk-solochain-template.git" repository = "https://github.com/paritytech/pezkuwi-sdk-solochain-template.git"
edition = "2021" edition = "2021"
[workspace] [workspace]
@@ -36,7 +36,7 @@ sc-telemetry = { path = "substrate/client/telemetry", default-features = false,
sc-transaction-pool = { path = "substrate/client/transaction-pool", default-features = false, version = "35.0.0" } sc-transaction-pool = { path = "substrate/client/transaction-pool", default-features = false, version = "35.0.0" }
sc-transaction-pool-api = { path = "substrate/client/transaction-pool/api", default-features = false, version = "35.0.0" } sc-transaction-pool-api = { path = "substrate/client/transaction-pool/api", default-features = false, version = "35.0.0" }
serde_json = { version = "1.0.114", default-features = false } serde_json = { version = "1.0.114", default-features = false }
solochain-template-runtime = { path = "templates/solochain/runtime", version = "0.1.0" } pez-solochain-template-runtime = { path = "runtime", version = "0.1.0" }
sp-api = { path = "substrate/primitives/api", default-features = false, version = "33.0.0" } sp-api = { path = "substrate/primitives/api", default-features = false, version = "33.0.0" }
sp-block-builder = { path = "substrate/primitives/block-builder", default-features = false, version = "33.0.0" } sp-block-builder = { path = "substrate/primitives/block-builder", default-features = false, version = "33.0.0" }
sp-blockchain = { path = "substrate/primitives/blockchain", default-features = false, version = "35.1.0" } sp-blockchain = { path = "substrate/primitives/blockchain", default-features = false, version = "35.1.0" }
+10 -10
View File
@@ -1,28 +1,28 @@
FROM docker.io/paritytech/ci-unified:latest as builder FROM docker.io/paritytech/ci-unified:latest as builder
WORKDIR /polkadot WORKDIR /pezkuwi
COPY . /polkadot COPY . /pezkuwi
RUN cargo fetch RUN cargo fetch
RUN cargo build --locked --release RUN cargo build --locked --release
FROM docker.io/parity/base-bin:latest FROM docker.io/parity/base-bin:latest
COPY --from=builder /polkadot/target/release/solochain-template-node /usr/local/bin COPY --from=builder /pezkuwi/target/release/pez-solochain-template-node /usr/local/bin
USER root USER root
RUN useradd -m -u 1001 -U -s /bin/sh -d /polkadot polkadot && \ RUN useradd -m -u 1001 -U -s /bin/sh -d /pezkuwi pezkuwi && \
mkdir -p /data /polkadot/.local/share && \ mkdir -p /data /pezkuwi/.local/share && \
chown -R polkadot:polkadot /data && \ chown -R pezkuwi:pezkuwi /data && \
ln -s /data /polkadot/.local/share/polkadot && \ ln -s /data /pezkuwi/.local/share/pezkuwi && \
# unclutter and minimize the attack surface # unclutter and minimize the attack surface
rm -rf /usr/bin /usr/sbin && \ rm -rf /usr/bin /usr/sbin && \
# check if executable works in this container # check if executable works in this container
/usr/local/bin/solochain-template-node --version /usr/local/bin/pez-solochain-template-node --version
USER polkadot USER pezkuwi
EXPOSE 30333 9933 9944 9615 EXPOSE 30333 9933 9944 9615
VOLUME ["/data"] VOLUME ["/data"]
ENTRYPOINT ["/usr/local/bin/solochain-template-node"] ENTRYPOINT ["/usr/local/bin/pez-solochain-template-node"]
+12 -12
View File
@@ -2,17 +2,17 @@
A fresh [Substrate](https://substrate.io/) node, ready for hacking :rocket: A fresh [Substrate](https://substrate.io/) node, ready for hacking :rocket:
A standalone version of this template is available for each release of Polkadot A standalone version of this template is available for each release of Pezkuwi
in the [Substrate Developer Hub Parachain in the [Substrate Developer Hub TeyrChain
Template](https://github.com/substrate-developer-hub/substrate-node-template/) Template](https://github.com/substrate-developer-hub/substrate-node-template/)
repository. The parachain template is generated directly at each Polkadot repository. The teyrchain template is generated directly at each Pezkuwi
release branch from the [Solochain Template in release branch from the [Solochain Template in
Substrate](https://github.com/paritytech/polkadot-sdk/tree/master/templates/solochain) Substrate](https://github.com/paritytech/pezkuwi-sdk/tree/master/templates/solochain)
upstream upstream
It is usually best to use the stand-alone version to start a new project. All It is usually best to use the stand-alone version to start a new project. All
bugs, suggestions, and feature requests should be made upstream in the bugs, suggestions, and feature requests should be made upstream in the
[Substrate](https://github.com/paritytech/polkadot-sdk/tree/master/substrate) [Substrate](https://github.com/paritytech/pezkuwi-sdk/tree/master/substrate)
repository. repository.
## Getting Started ## Getting Started
@@ -97,15 +97,15 @@ $ ls ./my-chain-state/chains/dev
db keystore network db keystore network
``` ```
### Connect with Polkadot-JS Apps Front-End ### Connect with Pezkuwi-JS Apps Front-End
After you start the node template locally, you can interact with it using the After you start the node template locally, you can interact with it using the
hosted version of the [Polkadot/Substrate hosted version of the [Pezkuwi/Substrate
Portal](https://polkadot.js.org/apps/#/explorer?rpc=ws://localhost:9944) Portal](https://pezkuwi.js.org/apps/#/explorer?rpc=ws://localhost:9944)
front-end by connecting to the local node endpoint. A hosted version is also front-end by connecting to the local node endpoint. A hosted version is also
available on [IPFS](https://dotapps.io/). You can available on [IPFS](https://dotapps.io/). You can
also find the source code and instructions for hosting your own instance in the also find the source code and instructions for hosting your own instance in the
[`polkadot-js/apps`](https://github.com/polkadot-js/apps) repository. [`pezkuwi-js/apps`](https://github.com/pezkuwi-js/apps) repository.
### Multi-Node Local Testnet ### Multi-Node Local Testnet
@@ -130,7 +130,7 @@ capabilities:
the network. Substrate makes it possible to supply custom consensus engines the network. Substrate makes it possible to supply custom consensus engines
and also ships with several consensus mechanisms that have been built on top and also ships with several consensus mechanisms that have been built on top
of [Web3 Foundation of [Web3 Foundation
research](https://research.web3.foundation/Polkadot/protocols/NPoS). research](https://research.web3.foundation/Pezkuwi/protocols/NPoS).
- RPC Server: A remote procedure call (RPC) server is used to interact with - RPC Server: A remote procedure call (RPC) server is used to interact with
Substrate nodes. Substrate nodes.
@@ -185,7 +185,7 @@ template and note the following:
The runtime in this project is constructed using many FRAME pallets that ship The runtime in this project is constructed using many FRAME pallets that ship
with [the Substrate with [the Substrate
repository](https://github.com/paritytech/polkadot-sdk/tree/master/substrate/frame) and a repository](https://github.com/paritytech/pezkuwi-sdk/tree/master/substrate/frame) and a
template pallet that is [defined in the template pallet that is [defined in the
`pallets`](./pallets/template/src/lib.rs) directory. `pallets`](./pallets/template/src/lib.rs) directory.
@@ -220,5 +220,5 @@ the correct dependencies, activate direnv `direnv allow`.
### Docker ### Docker
Please follow the [Substrate Docker instructions Please follow the [Substrate Docker instructions
here](https://github.com/paritytech/polkadot-sdk/blob/master/substrate/docker/README.md) to here](https://github.com/paritytech/pezkuwi-sdk/blob/master/substrate/docker/README.md) to
build the Docker container with the Substrate Node Template binary. build the Docker container with the Substrate Node Template binary.
+2 -2
View File
@@ -178,8 +178,8 @@ rustup target add wasm32-unknown-unknown --toolchain nightly
If you want to guarantee that your build works on your computer as you update Rust and other dependencies, you should If you want to guarantee that your build works on your computer as you update Rust and other dependencies, you should
use a specific Rust nightly version that is known to be compatible with the version of Substrate they are using; this use a specific Rust nightly version that is known to be compatible with the version of Substrate they are using; this
version will vary from project to project and different projects may use different mechanisms to communicate this version will vary from project to project and different projects may use different mechanisms to communicate this
version to developers. For instance, the Polkadot client specifies this information in its [release version to developers. For instance, the Pezkuwi client specifies this information in its [release
notes](https://github.com/paritytech/polkadot-sdk/releases). notes](https://github.com/paritytech/pezkuwi-sdk/releases).
```bash ```bash
# Specify the specific nightly toolchain in the date below: # Specify the specific nightly toolchain in the date below:
+5 -5
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "solochain-template-node" name = "pez-solochain-template-node"
description = "A solochain node template built with Substrate, part of Polkadot Sdk. (polkadot v1.14.0)" description = "A solochain node template built with Substrate, part of Pezkuwi Sdk. (pezkuwi v1.14.0)"
version = "0.1.0" version = "0.1.0"
license = "Unlicense" license = "Unlicense"
authors.workspace = true authors.workspace = true
@@ -49,7 +49,7 @@ pallet-transaction-payment = { version = "36.0.0", workspace = true }
pallet-transaction-payment-rpc = { version = "38.0.0", workspace = true, default-features = true } pallet-transaction-payment-rpc = { version = "38.0.0", workspace = true, default-features = true }
substrate-frame-rpc-system = { version = "36.0.0", workspace = true, default-features = true } substrate-frame-rpc-system = { version = "36.0.0", workspace = true, default-features = true }
frame-benchmarking-cli = { version = "40.0.0", workspace = true, default-features = true } frame-benchmarking-cli = { version = "40.0.0", workspace = true, default-features = true }
solochain-template-runtime = { version = "0.1.0", workspace = true } pez-solochain-template-runtime = { version = "0.1.0", workspace = true }
[build-dependencies] [build-dependencies]
substrate-build-script-utils = { version = "11.0.0", workspace = true, default-features = true } substrate-build-script-utils = { version = "11.0.0", workspace = true, default-features = true }
@@ -61,7 +61,7 @@ runtime-benchmarks = [
"frame-benchmarking-cli/runtime-benchmarks", "frame-benchmarking-cli/runtime-benchmarks",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",
"sc-service/runtime-benchmarks", "sc-service/runtime-benchmarks",
"solochain-template-runtime/runtime-benchmarks", "pez-solochain-template-runtime/runtime-benchmarks",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
] ]
# Enable features that allow the runtime to be tried and debugged. Name might be subject to change # Enable features that allow the runtime to be tried and debugged. Name might be subject to change
@@ -69,6 +69,6 @@ runtime-benchmarks = [
try-runtime = [ try-runtime = [
"frame-system/try-runtime", "frame-system/try-runtime",
"pallet-transaction-payment/try-runtime", "pallet-transaction-payment/try-runtime",
"solochain-template-runtime/try-runtime", "pez-solochain-template-runtime/try-runtime",
"sp-runtime/try-runtime", "sp-runtime/try-runtime",
] ]
+1 -1
View File
@@ -6,7 +6,7 @@ use sp_core::{sr25519, Pair, Public};
use sp_runtime::traits::{IdentifyAccount, Verify}; use sp_runtime::traits::{IdentifyAccount, Verify};
// The URL for the telemetry server. // The URL for the telemetry server.
// const STAGING_TELEMETRY_URL: &str = "wss://telemetry.polkadot.io/submit/"; // const STAGING_TELEMETRY_URL: &str = "wss://telemetry.pezkuwi.io/submit/";
/// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type. /// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type.
pub type ChainSpec = sc_service::GenericChainSpec; pub type ChainSpec = sc_service::GenericChainSpec;
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "pallet-template" name = "pallet-template"
description = "FRAME pallet template for defining custom runtime logic. (polkadot v1.14.0)" description = "FRAME pallet template for defining custom runtime logic. (pezkuwi v1.14.0)"
version = "0.1.0" version = "0.1.0"
license = "Unlicense" license = "Unlicense"
authors.workspace = true authors.workspace = true
+2 -2
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "solochain-template-runtime" name = "pez-solochain-template-runtime"
description = "A solochain runtime template built with Substrate, part of Polkadot Sdk. (polkadot v1.14.0)" description = "A solochain runtime template built with Substrate, part of Pezkuwi Sdk. (pezkuwi v1.14.0)"
version = "0.1.0" version = "0.1.0"
license = "Unlicense" license = "Unlicense"
authors.workspace = true authors.workspace = true
+3 -3
View File
@@ -94,13 +94,13 @@ pub mod opaque {
// https://docs.substrate.io/main-docs/build/upgrade#runtime-versioning // https://docs.substrate.io/main-docs/build/upgrade#runtime-versioning
#[sp_version::runtime_version] #[sp_version::runtime_version]
pub const VERSION: RuntimeVersion = RuntimeVersion { pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("solochain-template-runtime"), spec_name: create_runtime_str!("pez-solochain-template-runtime"),
impl_name: create_runtime_str!("solochain-template-runtime"), impl_name: create_runtime_str!("pez-solochain-template-runtime"),
authoring_version: 1, authoring_version: 1,
// The version of the runtime specification. A full node will not attempt to use its native // The version of the runtime specification. A full node will not attempt to use its native
// runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`, // runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`,
// `spec_version`, and `authoring_version` are the same between Wasm and native. // `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // This value is set to 100 to notify Pezkuwi-JS App (https://pezkuwi.js.org/apps) to use
// the compatible custom types. // the compatible custom types.
spec_version: 100, spec_version: 100,
impl_version: 1, impl_version: 1,