Skip to content

Commit

Permalink
fix cli links (#2215)
Browse files Browse the repository at this point in the history
  • Loading branch information
bucanero authored Aug 15, 2024
1 parent 64cd688 commit 621c28e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/3.tutorials/crosswords/01-basics/01-set-up-skeleton.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {Github} from "@site/src/components/codetabs"

# Getting started

In this tutorial we'll get a `testnet` account, use [NEAR CLI RS](../../../4.tools/cli-rs.md) to add a key to our computer's file system, and set up the basic skeleton of a Rust smart contract.
In this tutorial we'll get a `testnet` account, use [NEAR CLI RS](../../../4.tools/cli.md) to add a key to our computer's file system, and set up the basic skeleton of a Rust smart contract.

## Setting up Rust

Expand Down Expand Up @@ -51,7 +51,7 @@ When you created your NEAR `testnet` account, a private key was created and plac

We'll want to use a command-line interface (CLI) tool to deploy a contract, but at the moment the private key only exists in the browser. Next we'll _add a new key_ to the testnet account and have this stored locally on our computer as a JSON file. (Yes, you can have multiple keys on your NEAR account, which is quite powerful!)

Let's install [NEAR CLI RS](../../../4.tools/cli-rs.md) using `cargo`. You can also download the pre-compiled version of `near-cli-rs` for your OS from [GitHub's Releases page](https://github.com/near/near-cli-rs/releases/).
Let's install [NEAR CLI RS](../../../4.tools/cli.md) using `cargo`. You can also download the pre-compiled version of `near-cli-rs` for your OS from [GitHub's Releases page](https://github.com/near/near-cli-rs/releases/).

```bash
cargo install near-cli-rs
Expand Down
2 changes: 1 addition & 1 deletion docs/3.tutorials/crosswords/02-beginner/05-logging-in.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ It's only allowed to perform the `FunctionCall` Action.

### Example account with keys

Let's look at this `testnet` account that has one full-access key and two function-call access keys. As you can see, we use the [NEAR CLI](../../../4.tools/cli-rs.md) to print this info.
Let's look at this `testnet` account that has one full-access key and two function-call access keys. As you can see, we use the [NEAR CLI](../../../4.tools/cli.md) to print this info.

```bash
near account list-keys friend.testnet network-config testnet now
Expand Down
2 changes: 1 addition & 1 deletion docs/3.tutorials/fts/0-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To complete these tutorials successfully, you'll need:

- [Rust](/build/smart-contracts/quickstart#prerequisites)
- [A NEAR wallet](https://testnet.mynearwallet.com)
- [NEAR-CLI-RS](../../4.tools/cli-rs.md#install)
- [NEAR-CLI-RS](../../4.tools/cli.md#install)
- [cargo-near](https://github.com/near/cargo-near)

:::info New to Rust?
Expand Down
2 changes: 1 addition & 1 deletion docs/3.tutorials/fts/0-predeployed.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Learn how to easily receive fungible tokens without doing any software developme
To complete this tutorial successfully, you'll need:

- [A NEAR testnet account](https://testnet.mynearwallet.com)
- [NEAR-CLI-RS](../../4.tools/cli-rs.md#install)
- [NEAR-CLI-RS](../../4.tools/cli.md#install)

---

Expand Down
2 changes: 1 addition & 1 deletion docs/3.tutorials/nfts/0-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To complete these tutorials successfully, you'll need:

- [Rust](https://www.rust-lang.org/tools/install)
- [A Testnet wallet](https://testnet.mynearwallet.com/create)
- [NEAR-CLI-RS](../../4.tools/cli-rs.md#setup)
- [NEAR-CLI-RS](../../4.tools/cli.md#setup)
- [cargo-near](https://github.com/near/cargo-near)

:::info New to Rust?
Expand Down
2 changes: 1 addition & 1 deletion docs/3.tutorials/nfts/0-predeployed.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Create your first non-fungible token by using a pre-deployed NFT smart contract

## Prerequisites

To complete this tutorial successfully, you'll need [a NEAR Wallet](https://testnet.mynearwallet.com/create) and [NEAR CLI RS](../../4.tools/cli-rs.md#setup)
To complete this tutorial successfully, you'll need [a NEAR Wallet](https://testnet.mynearwallet.com/create) and [NEAR CLI RS](../../4.tools/cli.md#setup)

---

Expand Down
2 changes: 1 addition & 1 deletion docs/3.tutorials/nfts/2-minting.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ For deployment, you will need a NEAR account with the keys stored on your local
Please ensure that you deploy the contract to an account with no pre-existing contracts. It's easiest to simply create a new account or create a sub-account for this tutorial.
:::

Log in to your newly created account with [`near-cli-rs`](../../4.tools/cli-rs.md) by running the following command in your terminal.
Log in to your newly created account with [`near-cli-rs`](../../4.tools/cli.md) by running the following command in your terminal.

```bash
near account import-account using-web-wallet network-config testnet
Expand Down
2 changes: 1 addition & 1 deletion docs/3.tutorials/nfts/9-series.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ near contract call-function as-read-only $NFT_CONTRACT_ID nft_metadata json-args

## Creating The Series

The next step is to create two different series. One will have a price for lazy minting and the other will simply be a basic series with no price. The first step is to create an owner [sub-account](../../4.tools/cli-rs.md#accounts) that you can use to create both series
The next step is to create two different series. One will have a price for lazy minting and the other will simply be a basic series with no price. The first step is to create an owner [sub-account](../../4.tools/cli.md#accounts) that you can use to create both series

```bash
export SERIES_OWNER=owner.$NFT_CONTRACT_ID
Expand Down

0 comments on commit 621c28e

Please sign in to comment.