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

Testnet account warning admonition #2361

Merged
merged 5 commits into from
Dec 11, 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
25 changes: 15 additions & 10 deletions docs/2.build/2.smart-contracts/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,22 +258,25 @@ Remember that you can create a named account through any wallet (i.e. [MyNearWal

:::

:::warning

When running the near account create-account command in a headless Linux environment (e.g., WSL), the `save-to-keychain` option may fail due to platform limitations. Use `save-to-legacy-keychain` instead of `save-to-keychain` to ensure compatibility.

:::


---

## Build the Contract

If you encounter issues with Docker or prefer not to use Docker for building contracts, you can pass the --no-docker flag to certain commands (where applicable).
When you are ready to create a build of the contract run a one-line command depending on your environment.

<Tabs groupId="cli-tabs">
<TabItem value="js" label="🌐 JavaScript">

```bash
npm run build
```
Or

```bash
npm run build --no-docker
```

</TabItem>

Expand All @@ -282,11 +285,13 @@ If you encounter issues with Docker or prefer not to use Docker for building con
```bash
cargo near build
```
Or


```bash
cargo near build --no-docker
```
:::info

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

:::

</TabItem>

Expand Down
Loading