Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekjain23 committed Dec 13, 2024
1 parent 3aba9f4 commit 7e4090c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/content/developer/dev-cheat-sheet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Quick reference on best practices for IOTA Network developers.

| **Topic** | **Description** |
|-|-|
| **Optimal performance** | For optimal performance and data consistency, apps should use the wallet's [`signTransactionBlock`](../references/ts-sdk/dapp-kit/index.mdx) API to sign transactions and then submit them via [`execute_transactionBlock`](/iota-api-ref#iota_executetransactionblock) on the app's full node. This ensures immediate read-after-write consistency, as the app's full node reflects writes instantly, avoiding delays from checkpointing. |
| **Optimal performance** | For optimal performance and data consistency, apps should use the wallet's [`signTransactionBlock`](../ts-sdk/dapp-kit/index.mdx) API to sign transactions and then submit them via [`execute_transactionBlock`](/iota-api-ref#iota_executetransactionblock) on the app's full node. This ensures immediate read-after-write consistency, as the app's full node reflects writes instantly, avoiding delays from checkpointing. |
| **Lower latency** | For lower latency, use [`executeTransactionBlock`](/iota-api-ref#iota_executetransactionblock) with `"showEffects": false` and `"showEvents": false` if your app only needs confirmation of a transaction without immediate access to its effects or events.|
| **Local cache** | Apps should implement a local cache for frequently read data rather than over-fetching from the full node. |
| **Transaction cache**| Whenever possible,use programmable transaction blocks to compose on-chain functionality instead of deploying new contracts, enabling batching and lowering gas fees. |
Expand Down
2 changes: 1 addition & 1 deletion docs/content/sidebars/ts-sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SPDX-License-Identifier: Apache-2.0

import typedocSidebar from '../ts-sdk/api/typedoc-sidebar.cjs';
const references = [
const tsSDK = [
{
type: 'category',
label: 'Typescript SDK',
Expand Down
2 changes: 1 addition & 1 deletion docs/site/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ const config = {
},
{
label: "TS SDK",
to: "references/ts-sdk/typescript/",
to: "ts-sdk/typescript/",
},
{
label: "IOTA Identity",
Expand Down

0 comments on commit 7e4090c

Please sign in to comment.