Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update deploy_with_parameters in docs #697

Merged
merged 2 commits into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/src/api/contracts.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/src/api/providers.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/src/api/wallets.md

This file was deleted.

Empty file.
4 changes: 2 additions & 2 deletions docs/src/getting-started/contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Below is how you can deploy your contracts using the SDK. For more details about
There are two intended ways to deploy a contract

- `deploy`
- `deploy_with_salt`
- `deploy_with_parameters`

If you are only interested in a single instance of your contract, then use `deploy`

Expand All @@ -27,7 +27,7 @@ You can then use the contract methods very simply:
{{#include ../../../examples/contracts/src/lib.rs:use_deployed_contract}}
```

Alternatively, if you want multiple instances of the same contract then use `deploy_with_salt`
Alternatively, if you want multiple instances of the same contract then use `deploy_with_parameters` and set the salt parameter.

```rust,ignore
{{#include ../../../examples/contracts/src/lib.rs:deploy_with_parameters}}
Expand Down
1 change: 0 additions & 1 deletion docs/src/workspaces/fuels-abi-cli.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/src/workspaces/fuels-abigen-macro.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/src/workspaces/index.md

This file was deleted.