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 and 0623forbidden committed Feb 15, 2022
1 parent 1b03ad1 commit 1e3e813
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 1e3e813

Please sign in to comment.