Skip to content

Commit a3b2e81

Browse files
cookbook: replace sdk-js-cookbook-v15 with the new cookbook (redirect + repoint inbound links)
1 parent ef9fe94 commit a3b2e81

10 files changed

Lines changed: 10 additions & 3494 deletions

File tree

docs/developers/relayed-transactions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@ Here's an example of a relayed v3 transaction. Its intent is to call the `add` m
119119
The SDKs have built-in support for relayed transactions. Please follow:
120120
- [mxpy support](/sdk-and-tools/mxpy/mxpy-cli/#relayed-transactions-v3)
121121
- [sdk-py support](/sdk-and-tools/sdk-py/#relayed-transactions)
122-
- [sdk-js v15 support](/sdk-and-tools/sdk-js/sdk-js-cookbook#relayed-transactions)
122+
- [sdk-js relayed transactions](/sdk-and-tools/sdk-js/cookbook/accounts/relayed-v3-transaction)

docs/developers/sc-calls-format.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ There are multiple ways of formatting the data field:
7878

7979
- manually convert each argument, and then join the function name, alongside the argument via the `@` character.
8080
- use a pre-defined arguments serializer, such as [the one found in sdk-js](https://github.com/multiversx/mx-sdk-js-core/blob/main/src/smartcontracts/argSerializer.ts).
81-
- use sdk-js's [contract calls](/sdk-and-tools/sdk-js/sdk-js-cookbook/#smart-contracts).
81+
- use sdk-js's [contract calls](/sdk-and-tools/sdk-js/cookbook/smart-contracts-call/call-contract-endpoint).
8282
- use sdk-cpp's [contract calls](https://github.com/multiversx/mx-sdk-cpp/blob/main/src/smartcontracts/contract_call.cpp).
8383
- and so on
8484

docs/developers/signing-transactions/signing-programmatically.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ description: "Sign transactions programmatically using the SDKs: build, sign and
66

77
In order to sign a transaction (or a message) using one of the SDKs, follow:
88

9-
- [Signing objects using **sdk-js**](/sdk-and-tools/sdk-js/sdk-js-cookbook#signing-objects)
9+
- [Signing objects using **sdk-js**](/sdk-and-tools/sdk-js/cookbook/accounts/sign-verify-transaction)
1010
- [Signing objects using **sdk-py**](/sdk-and-tools/sdk-py#signing-objects)

docs/sdk-and-tools/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Note that Rust is also the recommended programming language for writing Smart Co
3131
| Name | Description |
3232
| -------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
3333
| [sdk-js](/sdk-and-tools/sdk-js) | High level overview about sdk-js. |
34-
| [sdk-js cookbook](/sdk-and-tools/sdk-js/sdk-js-cookbook) | Learn how to handle common tasks by using sdk-js. |
34+
| [sdk-js cookbook](/sdk-and-tools/sdk-js/cookbook) | Learn how to handle common tasks by using sdk-js. |
3535
| [Extending sdk-js](/sdk-and-tools/sdk-js/extending-sdk-js) | How to extend and tailor certain modules of sdk-js. |
3636
| [Writing and testing sdk-js interactions](/sdk-and-tools/sdk-js/writing-and-testing-sdk-js-interactions) | Write sdk-js interactions for Visual Studio Code |
3737
| [sdk-js signing providers](/sdk-and-tools/sdk-js/sdk-js-signing-providers) | Integrate sdk-js signing providers. |

docs/sdk-and-tools/sdk-js/cookbook/accounts/fetch-account-state.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,6 @@ each value as a hex string; `getAccountStorageEntry` returns the same value
177177
decoded to UTF-8. Verified live in the output above: `btc` is `62633171...` in
178178
bulk and `bc1q...` as a single entry.
179179

180-
For conceptual depth, see
181-
[docs.multiversx.com/sdk-and-tools/sdk-js/sdk-js-cookbook](https://docs.multiversx.com/sdk-and-tools/sdk-js/sdk-js-cookbook).
182-
183180
## Pitfalls
184181

185182
:::warning[Pitfall 1: userName is typed string but can be undefined]

docs/sdk-and-tools/sdk-js/cookbook/accounts/manage-nonces.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,6 @@ out. `resyncNonce()` recovers by re-fetching the real value and overwriting the
182182
local counter — a recovery step to call after a failure, not a defensive pre-check
183183
before every send.
184184

185-
For conceptual depth, see
186-
[docs.multiversx.com/sdk-and-tools/sdk-js/sdk-js-cookbook](https://docs.multiversx.com/sdk-and-tools/sdk-js/sdk-js-cookbook).
187-
188185
## Pitfalls
189186

190187
:::note[Pitfall 1: this recipe does not wait for each transaction to confirm before sending the next]

0 commit comments

Comments
 (0)