Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup - old cookbook regeneration tools (render includes) #865

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v12.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ This page will guide you through the process of handling common tasks using **sd
This cookbook makes use of `sdk-js v12`. In order to migrate from `sdk-js v11.x` to `sdk-js v12`, please follow [the migration guide](/sdk-and-tools/sdk-js/sdk-js-migration-guides).
:::

<!-- BEGIN_INCLUDE_FILE { "url": "https://raw.githubusercontent.com/multiversx/mx-sdk-js-examples/v0.6.0/cookbook/generated/basic.md" } -->

[comment]: # (mx-context-auto)

## Creating network providers
Expand Down Expand Up @@ -222,10 +220,6 @@ await Promise.all([watcher.awaitCompleted(tx1), watcher.awaitCompleted(tx2), wat

For a different awaiting strategy, also see [extending sdk-js](https://docs.multiversx.com/sdk-and-tools/sdk-js/extending-sdk-js).

<!-- END_INCLUDE_FILE -->

<!-- BEGIN_INCLUDE_FILE { "url": "https://raw.githubusercontent.com/multiversx/mx-sdk-js-examples/v0.6.0/cookbook/generated/transfers.md" } -->

[comment]: # (mx-context-auto)

## Token transfers
Expand Down Expand Up @@ -304,10 +298,6 @@ const tx4 = factory.createMultiESDTNFTTransfer({
});
```

<!-- END_INCLUDE_FILE -->

<!-- BEGIN_INCLUDE_FILE { "url": "https://raw.githubusercontent.com/multiversx/mx-sdk-js-examples/v0.6.0/cookbook/generated/contracts_01_deployments.md" } -->

[comment]: # (mx-context-auto)

## Contract deployments
Expand Down Expand Up @@ -414,10 +404,6 @@ let { returnCode } = new ResultsParser().parseUntypedOutcome(transactionOnNetwor
console.log("Return code:", returnCode);
```

<!-- END_INCLUDE_FILE -->

<!-- BEGIN_INCLUDE_FILE { "url": "https://raw.githubusercontent.com/multiversx/mx-sdk-js-examples/v0.6.0/cookbook/generated/contracts_02_abi.md" } -->

[comment]: # (mx-context-auto)

## ABI
Expand Down Expand Up @@ -449,10 +435,6 @@ abiRegistry = AbiRegistry.create(response.data);
existingContract = new SmartContract({ address: existingContractAddress, abi: abiRegistry });
```

<!-- END_INCLUDE_FILE -->

<!-- BEGIN_INCLUDE_FILE { "url": "https://raw.githubusercontent.com/multiversx/mx-sdk-js-examples/v0.6.0/cookbook/generated/contracts_03_queries.md" } -->

[comment]: # (mx-context-auto)

## Contract queries
Expand Down Expand Up @@ -565,10 +547,6 @@ Depending on the context, reinterpret (cast) the results:
let firstValueAsStruct = <Struct>firstValue;
```

<!-- END_INCLUDE_FILE -->

<!-- BEGIN_INCLUDE_FILE { "url": "https://raw.githubusercontent.com/multiversx/mx-sdk-js-examples/v0.6.0/cookbook/generated/contracts_04_interactions.md" } -->

[comment]: # (mx-context-auto)

## Contract interactions
Expand Down Expand Up @@ -788,10 +766,6 @@ let endpointDefinition = smartContract.getEndpoint("myFunction");

For customizing the default parser, also see [extending sdk-js](/sdk-and-tools/sdk-js/extending-sdk-js).

<!-- END_INCLUDE_FILE -->

<!-- BEGIN_INCLUDE_FILE { "url": "https://raw.githubusercontent.com/multiversx/mx-sdk-js-examples/v0.6.0/cookbook/generated/contracts_05_events.md" } -->

[comment]: # (mx-context-auto)

## Contract events
Expand All @@ -816,10 +790,6 @@ const outcome = resultsParser.parseEvent(event, eventDefinition);
console.log(JSON.stringify(outcome, null, 4));
```

<!-- END_INCLUDE_FILE -->

<!-- BEGIN_INCLUDE_FILE { "url": "https://raw.githubusercontent.com/multiversx/mx-sdk-js-examples/v0.6.0/cookbook/generated/codec.md" } -->

[comment]: # (mx-context-auto)

## Explicit decoding / encoding of values
Expand Down Expand Up @@ -857,10 +827,6 @@ decodedValue = decoded.valueOf();
console.log(JSON.stringify(decodedValue, null, 4));
```

<!-- END_INCLUDE_FILE -->

<!-- BEGIN_INCLUDE_FILE { "url": "https://raw.githubusercontent.com/multiversx/mx-sdk-js-examples/v0.6.0/cookbook/generated/signing.md" } -->

[comment]: # (mx-context-auto)

## Signing objects
Expand Down Expand Up @@ -974,8 +940,6 @@ console.log("Is signature of Bob?", bobVerifier.verify(serializedTx, txSignature
console.log("Is signature of Bob?", bobVerifier.verify(serializedMessage, messageSignature));
```

<!-- END_INCLUDE_FILE -->

[comment]: # (mx-context-auto)

## Decoding transaction metadata
Expand Down
85 changes: 0 additions & 85 deletions scripts/render_includes.py

This file was deleted.

Loading