From 621c28ea81879b80ff41e24fc6ef94a6a82e8016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dami=C3=A1n=20Parrino?= Date: Thu, 15 Aug 2024 19:28:26 -0300 Subject: [PATCH] fix cli links (#2215) --- docs/3.tutorials/crosswords/01-basics/01-set-up-skeleton.md | 4 ++-- docs/3.tutorials/crosswords/02-beginner/05-logging-in.md | 2 +- docs/3.tutorials/fts/0-intro.md | 2 +- docs/3.tutorials/fts/0-predeployed.md | 2 +- docs/3.tutorials/nfts/0-intro.md | 2 +- docs/3.tutorials/nfts/0-predeployed.md | 2 +- docs/3.tutorials/nfts/2-minting.md | 2 +- docs/3.tutorials/nfts/9-series.md | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/3.tutorials/crosswords/01-basics/01-set-up-skeleton.md b/docs/3.tutorials/crosswords/01-basics/01-set-up-skeleton.md index d0c3864cd54..50fd5e18dd5 100644 --- a/docs/3.tutorials/crosswords/01-basics/01-set-up-skeleton.md +++ b/docs/3.tutorials/crosswords/01-basics/01-set-up-skeleton.md @@ -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 @@ -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 diff --git a/docs/3.tutorials/crosswords/02-beginner/05-logging-in.md b/docs/3.tutorials/crosswords/02-beginner/05-logging-in.md index 67af61849a5..397d8306053 100644 --- a/docs/3.tutorials/crosswords/02-beginner/05-logging-in.md +++ b/docs/3.tutorials/crosswords/02-beginner/05-logging-in.md @@ -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 diff --git a/docs/3.tutorials/fts/0-intro.md b/docs/3.tutorials/fts/0-intro.md index 068722c0bb8..8732c2a1869 100644 --- a/docs/3.tutorials/fts/0-intro.md +++ b/docs/3.tutorials/fts/0-intro.md @@ -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? diff --git a/docs/3.tutorials/fts/0-predeployed.md b/docs/3.tutorials/fts/0-predeployed.md index 154d9cc0787..35b6e152d5e 100644 --- a/docs/3.tutorials/fts/0-predeployed.md +++ b/docs/3.tutorials/fts/0-predeployed.md @@ -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) --- diff --git a/docs/3.tutorials/nfts/0-intro.md b/docs/3.tutorials/nfts/0-intro.md index e18b92bedda..3bc0a043360 100644 --- a/docs/3.tutorials/nfts/0-intro.md +++ b/docs/3.tutorials/nfts/0-intro.md @@ -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? diff --git a/docs/3.tutorials/nfts/0-predeployed.md b/docs/3.tutorials/nfts/0-predeployed.md index 141091cae7e..8f6cf9bf68e 100644 --- a/docs/3.tutorials/nfts/0-predeployed.md +++ b/docs/3.tutorials/nfts/0-predeployed.md @@ -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) --- diff --git a/docs/3.tutorials/nfts/2-minting.md b/docs/3.tutorials/nfts/2-minting.md index 13153b019a4..be2a33bfbc4 100644 --- a/docs/3.tutorials/nfts/2-minting.md +++ b/docs/3.tutorials/nfts/2-minting.md @@ -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 diff --git a/docs/3.tutorials/nfts/9-series.md b/docs/3.tutorials/nfts/9-series.md index 0b86a06266c..bebbf8bd6da 100644 --- a/docs/3.tutorials/nfts/9-series.md +++ b/docs/3.tutorials/nfts/9-series.md @@ -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