Skip to content

Commit

Permalink
docs: quick-start section move the --node-url explanation under the…
Browse files Browse the repository at this point in the history
… example (FuelLabs#4279)

## Description
closes FuelLabs#4278.

Simple documentation fix, in quick start section we were explaining the
`--node-url` before giving an example that uses it. I moved the
explanation under the example.
  • Loading branch information
kayagokalp authored Mar 15, 2023
1 parent 5c50e53 commit 1a2d323
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/book/src/introduction/sway_quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@ To deploy `counter_contract` on your local Fuel node, open a new terminal tab an
forc deploy --unsigned
```

where `--node-url` parameter is the URL where your local node is hosted.

> **Note**
> You can't use the same terminal session that is running fuel-core to run any other commands as this will end your fuel-core process.
Expand Down Expand Up @@ -220,6 +218,8 @@ Salt is `0x0000000000000000000000000000000000000000000000000000000000000000` by
forc deploy --unsigned --random-salt --node-url <key> --gas-price 1
```

where `--node-url` parameter is the URL where your local node is hosted.

> Note: To be able to use the `forc deploy` and `forc run` commands, you require the `forc client` plugin that lets you interact with a Fuel node. You can read more about `forc client` [here](../forc/plugins/forc_client/index.md).
## Testing Your Contract
Expand Down

0 comments on commit 1a2d323

Please sign in to comment.