mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
docs: fix build command and some broken links (#2567)
This commit is contained in:
+4
-4
@@ -179,7 +179,7 @@ To run a Statemine or Westmint node (Statemint is not deployed, yet) you will ne
|
|||||||
`polkadot-parachain` binary:
|
`polkadot-parachain` binary:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo build --release --locked -p polkadot-parachain
|
cargo build --release --locked --bin polkadot-parachain
|
||||||
```
|
```
|
||||||
|
|
||||||
Once the executable is built, launch the parachain node via:
|
Once the executable is built, launch the parachain node via:
|
||||||
@@ -189,7 +189,7 @@ CHAIN=westmint # or statemine
|
|||||||
./target/release/polkadot-parachain --chain $CHAIN
|
./target/release/polkadot-parachain --chain $CHAIN
|
||||||
```
|
```
|
||||||
|
|
||||||
Refer to the [setup instructions](#local-setup) to run a local network for development.
|
Refer to the [setup instructions](#manual-setup) to run a local network for development.
|
||||||
|
|
||||||
## Contracts 📝
|
## Contracts 📝
|
||||||
|
|
||||||
@@ -219,7 +219,7 @@ eventually be included by the relay chain for a parachain.
|
|||||||
To run a Rococo collator you will need to compile the following binary:
|
To run a Rococo collator you will need to compile the following binary:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo build --release --locked -p polkadot-parachain
|
cargo build --release --locked --bin polkadot-parachain
|
||||||
```
|
```
|
||||||
|
|
||||||
Otherwise you can compile it with
|
Otherwise you can compile it with
|
||||||
@@ -228,7 +228,7 @@ Otherwise you can compile it with
|
|||||||
```bash
|
```bash
|
||||||
docker run --rm -it -w /shellhere/cumulus \
|
docker run --rm -it -w /shellhere/cumulus \
|
||||||
-v $(pwd):/shellhere/cumulus \
|
-v $(pwd):/shellhere/cumulus \
|
||||||
paritytech/ci-linux:production cargo build --release --locked -p polkadot-parachain
|
paritytech/ci-linux:production cargo build --release --locked --bin polkadot-parachain
|
||||||
sudo chown -R $(id -u):$(id -g) target/
|
sudo chown -R $(id -u):$(id -g) target/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ To run a Contracts node that connects to Rococo
|
|||||||
you will need to compile the `polkadot-parachain` binary:
|
you will need to compile the `polkadot-parachain` binary:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo build --release --locked -p polkadot-parachain
|
cargo build --release --locked --bin polkadot-parachain
|
||||||
```
|
```
|
||||||
|
|
||||||
Once the executable is built, launch the parachain node via:
|
Once the executable is built, launch the parachain node via:
|
||||||
@@ -54,7 +54,7 @@ Once the executable is built, launch the parachain node via:
|
|||||||
./target/release/polkadot-parachain --chain contracts-rococo
|
./target/release/polkadot-parachain --chain contracts-rococo
|
||||||
```
|
```
|
||||||
|
|
||||||
Refer to the [setup instructions below](#local-setup) to run a local network for development.
|
Refer to the [setup instructions](https://github.com/paritytech/cumulus#manual-setup) to run a local network for development.
|
||||||
|
|
||||||
### Rococo Deployment
|
### Rococo Deployment
|
||||||
|
|
||||||
@@ -70,8 +70,8 @@ Due to this you'll need `ROC` in order to deploy contracts on this parachain.
|
|||||||
As a first step, you should create an account. See [here](https://wiki.polkadot.network/docs/learn-account-generation)
|
As a first step, you should create an account. See [here](https://wiki.polkadot.network/docs/learn-account-generation)
|
||||||
for a detailed guide.
|
for a detailed guide.
|
||||||
|
|
||||||
As a second step, you have to get `ROC` testnet tokens through the [Rococo Faucet](https://wiki.polkadot.network/docs/learn-DOT#getting-rococo-tokens).
|
As a second step, you have to get `ROC` testnet tokens through the [Rococo Faucet](https://wiki.polkadot.network/docs/learn-DOT#obtaining-testnet-tokens).
|
||||||
This is a chat room in which you need to write:
|
This is a chat room in which you'd need to post the following message:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
!drip YOUR_SS_58_ADDRESS:1002
|
!drip YOUR_SS_58_ADDRESS:1002
|
||||||
@@ -84,5 +84,5 @@ If everything worked out, the teleported `ROC` tokens will show up under
|
|||||||
[the "Accounts" tab](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frococo-contracts-rpc.polkadot.io#/accounts).
|
[the "Accounts" tab](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frococo-contracts-rpc.polkadot.io#/accounts).
|
||||||
|
|
||||||
Once you have `ROC` you can deploy a contract as you would normally.
|
Once you have `ROC` you can deploy a contract as you would normally.
|
||||||
If you're unsure about this, our [guided tutorial](https://docs.substrate.io/tutorials/v3/ink-workshop/pt1/)
|
If you're unsure about this, our [guided tutorial](https://use.ink/getting-started/deploy-your-contract)
|
||||||
will clarify that for you in no time.
|
will clarify that for you in no time.
|
||||||
|
|||||||
Reference in New Issue
Block a user