Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

docs: fix build command and some broken links #2567

Merged
merged 1 commit into from
May 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ To run a Statemine or Westmint node (Statemint is not deployed, yet) you will ne
`polkadot-parachain` binary:

```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:
Expand All @@ -189,7 +189,7 @@ CHAIN=westmint # or statemine
./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 📝

Expand Down Expand Up @@ -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:

```bash
cargo build --release --locked -p polkadot-parachain
cargo build --release --locked --bin polkadot-parachain
```

Otherwise you can compile it with
Expand All @@ -228,7 +228,7 @@ Otherwise you can compile it with
```bash
docker run --rm -it -w /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/
```

Expand Down
10 changes: 5 additions & 5 deletions parachains/runtimes/contracts/contracts-rococo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ To run a Contracts node that connects to Rococo
you will need to compile the `polkadot-parachain` binary:

```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:
Expand All @@ -54,7 +54,7 @@ Once the executable is built, launch the parachain node via:
./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

Expand All @@ -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)
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).
This is a chat room in which you need to write:
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'd need to post the following message:

```bash
!drip YOUR_SS_58_ADDRESS:1002
Expand All @@ -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).

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.