diff --git a/docs/2.develop/contracts/quickstart.md b/docs/2.develop/contracts/quickstart.md index 1f2a34b4163..e4a6d01d9ce 100644 --- a/docs/2.develop/contracts/quickstart.md +++ b/docs/2.develop/contracts/quickstart.md @@ -53,7 +53,8 @@ Create a smart contract by running our `create-near-app` scaffolding tool and fo The resulting folder structure will change slightly depending on the chosen language. Here is the general structure you can expect to see: - + + ```bash ├── README.md @@ -68,8 +69,9 @@ The resulting folder structure will change slightly depending on the chosen lang └── tsconfig.json ``` - - + + + ```bash ├── README.md @@ -87,7 +89,8 @@ The resulting folder structure will change slightly depending on the chosen lang └── Cargo.toml # package manager ``` - + + --- @@ -120,7 +123,8 @@ There are 3 important things to notice: Building and testing the contract is as simple as running two commands. - + + ```bash npm run build @@ -131,9 +135,9 @@ Building and testing the contract is as simple as running two commands. # changes the greeting ✅ ``` - + - + ```bash ./build.sh @@ -144,7 +148,8 @@ Building and testing the contract is as simple as running two commands. # Passed ✅ changes the greeting ``` - + + @@ -173,23 +178,24 @@ Now that we know the contract is passing the tests, let's create a testnet accou While there are different ways to [create accounts](/concepts/basics/accounts/creating-accounts) in NEAR, in this quickstart we will use the `cargo-near` tool to create a new random [`named account`](/concepts/basics/accounts/account-id). - + + ```bash # install cargo-near npm i -g cargo-near ``` - + - + ```bash # install cargo-near cargo install cargo-near ``` - + @@ -217,21 +223,24 @@ Here we are creating a random account since we do not care about the account's n Having our account created, we can now deploy the contract into it: - + + ```bash near deploy --wasmFile build/release/hello.wasm --accountId ``` - + - + ```bash near deploy --wasmFile ./target/wasm32-unknown-unknown/release/hello_near.wasm --accountId ``` + - + + @@ -273,4 +282,4 @@ Go ahead and check other [examples](/tutorials/examples/guest-book) or proceed s If you have any questions, do not hesitate in joining us on [Discord](https://near.chat). We regularly host Office Hours, in which you can join our voice channel and ask questions. -Happy coding! 🚀 \ No newline at end of file +Happy coding! 🚀 diff --git a/docs/7.primitives/dao/interacting/bos.md b/docs/7.primitives/dao/interacting/bos.md index 3bb1e285ef3..2f604219bf9 100644 --- a/docs/7.primitives/dao/interacting/bos.md +++ b/docs/7.primitives/dao/interacting/bos.md @@ -32,6 +32,7 @@ const result = Near.view("sputnik-dao.near", "get_dao_list"); ```

+ --- @@ -92,6 +93,7 @@ const result = Near.view( ```

+ --- diff --git a/docs/7.primitives/dao/interacting/near-cli.md b/docs/7.primitives/dao/interacting/near-cli.md index c3498b7ff58..b4e9ec101bd 100644 --- a/docs/7.primitives/dao/interacting/near-cli.md +++ b/docs/7.primitives/dao/interacting/near-cli.md @@ -32,6 +32,7 @@ near view sputnik-dao.near get_dao_list '{}' ```

+ --- @@ -88,6 +89,7 @@ near view nearweek-news-contribution.sputnik-dao.near get_proposals '{"from_inde ```

+ --- diff --git a/docs/7.primitives/linkdrop/interacting/bos.md b/docs/7.primitives/linkdrop/interacting/bos.md index 2ca4c3df463..909d3f49767 100644 --- a/docs/7.primitives/linkdrop/interacting/bos.md +++ b/docs/7.primitives/linkdrop/interacting/bos.md @@ -295,6 +295,7 @@ const getLinks = () => { ```

+ :::note diff --git a/docs/7.primitives/linkdrop/interacting/web-app.md b/docs/7.primitives/linkdrop/interacting/web-app.md index 6925b1d996f..647897c8e33 100644 --- a/docs/7.primitives/linkdrop/interacting/web-app.md +++ b/docs/7.primitives/linkdrop/interacting/web-app.md @@ -333,4 +333,5 @@ const getLinks = () => { ```

+