Skip to content

Commit

Permalink
docs: update QUICKSTART.md with updated forc deploy instructions (#489)
Browse files Browse the repository at this point in the history
* Update QUICKSTART.md with updated forc deploy instructions

* fix indentation
  • Loading branch information
bing authored Sep 6, 2022
1 parent e60aec0 commit b8cb5df
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,14 +256,19 @@ Bytecode size is 260 bytes.

### 3. Deploy the contract

To deploy the contract we just need to use the `forc` tool with some parameters to inform the node address.
To deploy the contract we just need to use the `forc-client` plugin with some parameters to inform the node address.

Inside `my-fuel-dapp/contract` run;

```sh
forc deploy --url localhost:4000
forc deploy --url localhost:4000 --unsigned
```

`--url` sets the URL of the Fuel node to deploy your contract to.
`--unsigned` tells `forc-client` to not sign your transaction.

For more information on `forc-client` and its parameters, visit the [forc client section](https://fuellabs.github.io/sway/master/forc_client.html) in the Sway book.

You should see something like this;

```sh
Expand Down

1 comment on commit b8cb5df

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 89.88% 3187/3546
🟡 Branches 69.62% 582/836
🟢 Functions 87.59% 621/709
🟢 Lines 89.73% 3058/3408

Test suite run success

479 tests passing in 43 suites.

Report generated by 🧪jest coverage report action from b8cb5df

Please sign in to comment.