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 commands to latest cargo-near #2390

Merged
merged 1 commit into from
Dec 23, 2024
Merged
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
8 changes: 4 additions & 4 deletions docs/2.build/2.smart-contracts/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ When you are ready to create a build of the contract run a one-line command depe

:::info

If you encounter issues with Docker you can use the `--no-docker` flag to skip creating a reproducible build
If you encounter issues with Docker you can use the `non-reproducible-wasm` option to skip creating a reproducible build

:::

Expand Down Expand Up @@ -319,7 +319,7 @@ Having our account created, we can now deploy the contract:
<TabItem value="full" label="Full">

```bash
near contract deploy <created-account> use-file ./target/wasm32-unknown-unknown/release/hello.wasm without-init-call network-config testnet sign-with-keychain send
near contract deploy <created-account> use-file ./target/near/hello.wasm without-init-call network-config testnet sign-with-keychain send
```

</TabItem>
Expand All @@ -334,15 +334,15 @@ Having our account created, we can now deploy the contract:
<TabItem value="short" label="Short">

```bash
near deploy <created-account> ./target/wasm32-unknown-unknown/release/<generated-file>.wasm
near deploy <created-account> ./target/near/<generated-file>.wasm
```

</TabItem>

<TabItem value="full" label="Full">

```bash
near contract deploy <created-account> use-file ./target/wasm32-unknown-unknown/release/<generated-file>.wasm without-init-call network-config testnet sign-with-keychain send
near contract deploy <created-account> use-file ./target/near/<generated-file>.wasm without-init-call network-config testnet sign-with-keychain send
```

</TabItem>
Expand Down
Loading