Skip to content

Commit

Permalink
Remove page on old "counter" contract (not buildable anymore).
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed Nov 24, 2024
1 parent 29875a4 commit 481dd2d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 139 deletions.
1 change: 0 additions & 1 deletion docs/developers/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ Below is a list of tutorials for building on MultiversX:
| [Build a microservice for your dApp](/developers/tutorials/your-first-microservice) | Video + written tutorial on how to create your microservice. |
| [Crowdfunding Smart Contract](/developers/tutorials/crowdfunding-p1) | Crowdfunding tutorial (Part 1). |
| [Crowdfunding Smart Contract](/developers/tutorials/crowdfunding-p2) | Crowdfunding tutorial (Part 2). |
| [The Counter Smart Contract](/developers/tutorials/counter) | The Counter SC tutorial. |
| [Staking contract Tutorial](/developers/tutorials/staking-contract) | Step by step tutorial on how to create a Staking Smart Contract. |
| [Energy DAO Tutorial](/developers/tutorials/energy-dao) | In depth analysis of the Energy DAO SC template. |
| [DEX Walkthrough](/developers/tutorials/dex-walkthrough) | In depth walkthrough of all the main DEX contracts. |
Expand Down
134 changes: 0 additions & 134 deletions docs/developers/tutorials/counter.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v13.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ let abi = AbiRegistry.create(abiObj);
```js
import axios from "axios";

const response = await axios.get("https://github.com/multiversx/mx-sdk-js-core/raw/main/src/testdata/counter.abi.json");
const response = await axios.get("https://github.com/multiversx/mx-sdk-js-core/raw/main/src/testdata/adder.abi.json");
abi = AbiRegistry.create(response.data);
```

Expand Down
4 changes: 2 additions & 2 deletions docs/sdk-and-tools/sdk-py/mxpy-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ Now let's deploy a smart contract using the Ledger:

```sh
mxpy contract deploy --proxy=https://devnet-gateway.multiversx.com --recall-nonce \
--bytecode=counter.wasm --gas-limit=5000000 \
--bytecode=adder.wasm --gas-limit=5000000 \
--ledger --ledger-address-index=42 \
--send
```
Expand All @@ -618,7 +618,7 @@ Then, perform a contract call:
```sh
mxpy contract call erd1qqqqqqqqqqqqqpgqwwef37kmegph97egvvrxh3nccx7xuygez8ns682zz0 \
--proxy=https://devnet-gateway.multiversx.com --recall-nonce \
--function increment --gas-limit 5000000 \
--function add --arguments 42 --gas-limit 5000000 \
--ledger --ledger-address-index=42 \
--send
```
Expand Down
1 change: 0 additions & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ const sidebars = {
"developers/tutorials/your-first-microservice",
"developers/tutorials/crowdfunding-p1",
"developers/tutorials/crowdfunding-p2",
"developers/tutorials/counter",
"developers/tutorials/staking-contract",
"developers/tutorials/energy-dao",
"developers/tutorials/dex-walkthrough",
Expand Down

0 comments on commit 481dd2d

Please sign in to comment.