Skip to content

Commit

Permalink
updated template names
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekaanth committed Sep 26, 2023
1 parent 7bc3fef commit 616d1a4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 216 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ First, complete the [basic Rust setup instructions](./docs/rust-setup.md).

### Build

Clone the extended parachain template repository:
Clone the metaquity network parachain repository:

```sh
git clone https://github.com/paritytech/extended-parachain-template
git clone https://github.com/metaquity-network/metaquity-node
```

Use the following command to build the node without launching it:
Expand Down
2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
homepage = "https://metaquity.xyz"
license = "Unlicense"
name = "metaquity-network-node"
repository = "https://github.com/Metaquity-Network/metaquity-network-node-extended"
repository = "https://github.com/Metaquity-Network/metaquity-network-node"
version = "0.0.1-dev"

[dependencies]
Expand Down
24 changes: 6 additions & 18 deletions node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,29 +89,23 @@ fn load_spec(id: &str) -> std::result::Result<Box<dyn ChainSpec>, String> {

impl SubstrateCli for Cli {
fn impl_name() -> String {
"Parachain Collator Template".into()
"Metaquity network".into()
}

fn impl_version() -> String {
env!("SUBSTRATE_CLI_IMPL_VERSION").into()
}

fn description() -> String {
format!(
"Parachain Collator Template\n\nThe command-line arguments provided first will be \
passed to the parachain node, while the arguments provided after -- will be passed \
to the relay chain node.\n\n\
{} <parachain-args> -- <relay-chain-args>",
Self::executable_name()
)
format!("")
}

fn author() -> String {
env!("CARGO_PKG_AUTHORS").into()
}

fn support_url() -> String {
"https://github.com/paritytech/cumulus/issues/new".into()
"https://github.com/metaquity-network/metaquity-network-node/issues/new".into()
}

fn copyright_start_year() -> i32 {
Expand All @@ -125,29 +119,23 @@ impl SubstrateCli for Cli {

impl SubstrateCli for RelayChainCli {
fn impl_name() -> String {
"Parachain Collator Template".into()
"Metaquity network".into()
}

fn impl_version() -> String {
env!("SUBSTRATE_CLI_IMPL_VERSION").into()
}

fn description() -> String {
format!(
"Parachain Collator Template\n\nThe command-line arguments provided first will be \
passed to the parachain node, while the arguments provided after -- will be passed \
to the relay chain node.\n\n\
{} <parachain-args> -- <relay-chain-args>",
Self::executable_name()
)
format!("")
}

fn author() -> String {
env!("CARGO_PKG_AUTHORS").into()
}

fn support_url() -> String {
"https://github.com/paritytech/cumulus/issues/new".into()
"https://github.com/metaquity-network/metaquity-network-node/issues/new".into()
}

fn copyright_start_year() -> i32 {
Expand Down
2 changes: 1 addition & 1 deletion node/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Substrate Parachain Node Template CLI
//! Metaquity network CLI
#![warn(missing_docs)]

Expand Down
194 changes: 0 additions & 194 deletions plain-parachain-chainspec.json

This file was deleted.

0 comments on commit 616d1a4

Please sign in to comment.