Skip to content

Commit

Permalink
Update README.md (paritytech#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuke-web3 authored Oct 8, 2021
1 parent d582479 commit 8f0641e
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,14 @@ See [examples](./examples).
## Integration Testing

Most tests require a running substrate node to communicate with. This is done by spawning an instance of the
substrate node per test. It requires an executable binary `substrate` at [`v3.0.0`](https://github.com/paritytech/substrate/releases/tag/v3.0.0) on your path.
substrate node per test. It requires an executable binary `substrate` at [`polkadot-v0.9.10`](https://github.com/paritytech/substrate/releases/tag/polkadot-v0.9.10) on your path.

This can be done by downloading the prebuilt binary:
This can be installed from source via cargo:

```bash
curl "https://releases.parity.io/substrate/x86_64-debian:stretch/v3.0.0/substrate/substrate" --output substrate --location
chmod +x ./substrate
mv substrate ~/.local/bin
cargo install --git https://github.com/paritytech/substrate node-cli --tag=polkadot-v0.9.10 --force
```

Or installed from source via cargo:

```bash
cargo install --git https://github.com/paritytech/substrate node-cli --tag=v3.0.0 --force
```




**Alternatives**

[substrate-api-client](https://github.com/scs/substrate-api-client) provides similar functionality.
Expand Down

0 comments on commit 8f0641e

Please sign in to comment.