Skip to content

Commit

Permalink
Re-order dependency installation steps (use-ink#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
kureus authored Dec 11, 2022
1 parent c43d89d commit 2522253
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/getting-started/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ The first tool we will be installing is [`cargo-contract`](https://github.com/pa

As a pre-requisite for the tool you need to install the [binaryen](https://github.com/WebAssembly/binaryen) package, which is used to optimize the WebAssembly bytecode of the contract.

Two other dependencies are needed to lint the ink! contract. This is done to warn users about using e.g. API's in a way that could lead to security issues.

```bash
cargo install cargo-dylint dylint-link
```

Many package managers have it available nowadays ‒ e.g. there is a package for [Debian/Ubuntu](https://tracker.debian.org/pkg/binaryen),
[Homebrew](https://formulae.brew.sh/formula/binaryen) and [Arch Linux](https://archlinux.org/packages/community/x86_64/binaryen/).

Expand All @@ -37,6 +31,12 @@ Use the `--force` to ensure you are updated to the most recent `cargo-contract`

You can then use `cargo contract --help` to start exploring the commands made available to you.

Two other dependencies are needed to lint the ink! contract. This is done to warn users about using e.g. API's in a way that could lead to security issues.

```bash
cargo install cargo-dylint dylint-link
```

## Substrate Framework Pre-requisites

With ink! you can write smart contracts for blockchains built on Substrate.
Expand Down

0 comments on commit 2522253

Please sign in to comment.