diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..3c0b59e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,4 @@ +[*] +indent_style = space +indent_size = 2 +quote_type = double \ No newline at end of file diff --git a/docs/pages/multi-version-nexus-support.md b/docs/pages/multi-version-nexus-support.md new file mode 100644 index 0000000..0862669 --- /dev/null +++ b/docs/pages/multi-version-nexus-support.md @@ -0,0 +1,53 @@ +# Multi-Version Nexus Support in Multichain MEE SDK + +The MEE SDK now supports initializing multichain Nexus accounts using multiple contract versions โ€” enabling compatibility across chains with different feature sets or upgrade statuses. + +This is critical for chains that must continue using Nexus v1.0.2, while others can work with newer version like v1.2.0. + +## โœ… SDK API: `toMultichainNexusAccount(...)` + +Basic Usage (Default to Latest Version) + +```ts +const nexusAccount = await toMultichainNexusAccount({ + signer: eoaAccount, + chains: [base, optimism], + transports: [http(), http()], +}); +``` + +This will default to the latest Nexus version (e.g. 1.2.1) for all chains. + +Provide Specific Mixed Versions + +```ts +const nexusAccount = await toMultichainNexusAccount({ + signer: eoaAccount, + chains: [polygon, chilliz, optimism, arbitrum], + transports: [http(), http()], + options: [ + { version: getNexus("1.0.2") }, // Applied to polygon + { version: getNexus("1.0.2") }, // Applied to chilliz + { version: getNexus("1.0.2") }, // Applied to polygon + ], +}); +``` + +## ๐Ÿ” Automatic Version Detection (Fallback) + +If no version is provided: + +- SDK performs RPC-based Cancun support check + +- Chooses appropriate version (1.2.0 for Cancun chains, 1.0.2 otherwise) + +- Can be overridden manually as shown above + +## ๐Ÿงฐ Version Helper: `getNexus(version)` + +An utility function that returns contract configuration for a given version: + +```ts +import { getNexus } from "@biconomy/sdk"; +console.log(getNexus("1.2.0").implementation); +``` diff --git a/vocs.config.ts b/vocs.config.ts index 54bf7c9..f1c4215 100644 --- a/vocs.config.ts +++ b/vocs.config.ts @@ -1,453 +1,450 @@ import { defineConfig } from "vocs"; - export default defineConfig({ - ogImageUrl: - "https://vocs.dev/api/og?logo=%logo&title=%title&description=%description", - description: - "Biconomy is the universal interface to all blockchains", - title: "Biconomy", - titleTemplate: "%s | Biconomy Docs", - rootDir: "./docs", - editLink: { - pattern: - "https://github.com/bcnmy/abstract-docs/edit/develop/docs/pages/:path", - text: "Edit on GitHub", - }, - iconUrl: { - dark: "https://i.imgur.com/WyX6ebY.png", - light: "https://i.imgur.com/WyX6ebY.png", - }, - logoUrl: { - dark: "https://i.imgur.com/Mt2TmLl.png", - light: "https://i.imgur.com/Mt2TmLl.png", - }, - theme: { - accentColor: "#ec5d31", - variables: { - sidebar: { - width: '370px', - horizontalPadding: '40px', - verticalPadding: '20px', - }, - lineHeight: { - sidebarItem: '1.75em' - }, - - } - }, - socials: [ - { - icon: "x", - link: "https://x.com/biconomy", - }, - ], - topNav: [ - // { text: "Examples", link: "https://github.com/bcnmy/examples" }, - // { - // text: "API Docs", - // link: "https://bcnmy.github.io/abstractjs", - // }, - { - text: 'Biconomy Network', - items: [ - { - text: 'Overview', - link: 'https://blog.biconomy.io/launching-biconomy-network-the-application-layer-to-make-a-thousand-chains-feel-like-one-2/' - }, - { - text: 'Litepaper', - link: 'https://blog.biconomy.io/launching-biconomy-network-the-application-layer-to-make-a-thousand-chains-feel-like-one-2/' - }, - ] - } - ], - sidebar: [ - { - text: '', - items: [ - { - text: '๐ŸŠ Welcome to Biconomy', - link: '/' - }, - { - text: '๐Ÿค– Modular Execution Environment (MEE)', - link: '/new/learn-about-biconomy/what-is-mee', - }, - { - text: 'โš–๏ธ MEE vs. ERC-4337', - link: '/new/learn-about-biconomy/mee-vs-4337' - }, - { - text: '๐Ÿ“‘ Nexus Smart Account', - link: '/new/learn-about-biconomy/nexus' - } - ] - }, - { - text: 'Integrate Biconomy ๐Ÿฆฎ', - items: [ - { - text: '๐ŸŽฌ Getting Started', - link: '/new/getting-started/getting-started' - }, - { - text: '๐Ÿ Set up AbstractJS', - link: '/new/getting-started/set-up-abstractjs' - }, - { - text: '๐Ÿ” Enable MEE for EOA Users', - link: '/new/getting-started/enable-mee-eoa-users', - }, - { - text: '๐Ÿ”ถ MEE + EIP-7702 (Embedded Wallets)', - link: '/new/getting-started/enable-mee-eoa-7702' - }, - { - text: '๐Ÿงก MEE + Fusion (External Wallets)', - link: '/new/getting-started/enable-mee-eoa-fusion' - } - ] - }, - { - text: 'Quickstart Guides ๐Ÿƒโ€โ™‚๏ธ', - items: [ - { - text: '๐Ÿ”ถ Get Started w/ Embedded Wallets', - link: '/new/quickstart/embedded-wallets-quickstart' - }, - { - text: '๐Ÿงก Get Started w/ External Wallets', - link: '/new/quickstart/external-wallets-quickstart' - } - ] - }, - - { - text: 'Gasless Multichain Orchestration ๐ŸŽป', - items: [ - { - text: '๐Ÿ“– Introduction to Orchestration', - link: '/new/learn-about-biconomy/understanding-composable-orchestration' - }, - { - text: 'โ›ฝ๏ธ Pay Gas With ERC-20 Tokens', - link: '/new/getting-started/pay-gas-erc20-token', - }, - { - text: '๐Ÿ“ƒ Supported Gas Tokens', - link: '/new/getting-started/supported-gas-tokens' - }, - { - text: '๐Ÿค Sponsor Gas for Users', - link: '/new/getting-started/sponsor-gas-for-users' - }, - { - text: 'โฑ๏ธ Set Execution Time Bounds', - link: '/new/getting-started/set-execution-time-bounds' - }, - { - text: '๐Ÿ’‰ Use Runtime Parameter Injection', - link: '/new/getting-started/understanding-runtime-injection' - }, - { - text: '๐Ÿงฉ Execute Composable Batch Calls', - link: '/new/getting-started/composable-batch-execute' - }, - { - text: 'โ†”๏ธ Batch Composable Cross-Chain Calls', - link: '/new/getting-started/orchestrate-transactions-across-chains' - }, - { - text: '๐Ÿงน Cleanup if Instruction Fails', - link: '/new/getting-started/handling-partial-execution' - }, - { - text: '๐Ÿ”Ž Monitor Execution & Completion', - link: '/new/getting-started/monitor-execution-completion' - } - ] - }, - { - text: 'Smart Sessions (Account Permissions) ๐Ÿ—๏ธ', - items: [ - { - text: '๐Ÿ”– Introduction to Smart Sessions', - link: '/new/smart-sessions/introduction' - }, - { - text: 'โœ๏ธ Execute Transactions on Users Behalf', - link: '/new/smart-sessions/execute-transactions-on-users-behalf' - }, - { - text: '๐Ÿ“ Smart Sessions Policies Overview', - link: '/new/smart-sessions/policies', - collapsed: true, - items: [ - { - text: 'Sudo Policy', - link: '/new/smart-sessions/policies/sudo-policy' - }, - { - text: 'Time Range', - link: '/new/smart-sessions/policies/time-range-policy' - }, - { - text: 'Universal Action', - link: '/new/smart-sessions/policies/universal-action-policy' - }, - { - text: 'Usage Limit Policy', - link: '/new/smart-sessions/policies/usage-limit-policy' - } - ] - }, - ] - }, - { - text: 'Preparing for Production โš ๏ธ', - items: [ - - { - text: '๐Ÿ“ Set Manual Gas Limits', - link: '/new/preparing-for-production/set-gas-limits-manually' - }, - { - text: '๐Ÿ”‘ Set a Production API Key', - link: '/api-key' - }, - ] - }, - { - text: 'Integration Guides', - items: [ - { - text: '๐Ÿ’ณ Embedded Wallets', - items: [ - { - text: 'Privy', - link: '/new/integration-guides/wallets-and-signers/privy' - }, - { - text: 'Turnkey', - link: '/new/integration-guides/wallets-and-signers/turnkey' - } - ] - }, - { - text: '๐ŸŒ‰ Bridges and Solvers', - items: [ - { - text: 'LiFi', - link: '/new/integration-guides/bridges-and-solvers/integrate-lifi' - }, - { - text: 'Across', - link: '/new/integration-guides/bridges-and-solvers/integrate-across' - }, - { - text: 'Relay', - link: '/new/integration-guides/bridges-and-solvers/integrate-relay' - }, - ] - } - ] - }, - { - text: 'Examples๐Ÿ‘‡', - items: [ - { - text: '๐Ÿ” Single Signature Approve + Execute', - link: '/new/examples/single-sig-approve-execute' - }, - // { - // text: '๐Ÿ”„ One Sig: Swap โ†’ Bridge โ†’ Execute', - // link: '/new/examples/swap-bridge-execute' - // }, - - ] - }, - { - text: '๐Ÿง  Advanced', - items: [ - { - text: '๐Ÿ’พ Self-Hosted Sponsorship', - link: '/new/advanced/self-hosted-sponsorship' - } - ] - }, - { - text: 'Resources ๐Ÿ“ฆ', - items: [ - { - text: '๐Ÿ“‘ Contract Addresses & Audits', - link: '/contracts-and-audits' - }, - { - text: "โ›“๏ธ Supported Chains", - link: "/supportedNetworks", - }, - ] - }, - { - text: "MEE SDK Reference โš™๏ธ", - link: "/sdk-reference", - items: [ - { - text: "Multichain Account Object Methods", - link: "/sdk-reference/mee-client/account", - collapsed: true, - items: [ - { - text: "build", - link: "/sdk-reference/mee-client/account/methods/build", - }, - { - text: "buildComposable", - link: "/sdk-reference/mee-client/account/methods/buildComposable", - }, - { - text: "deploymentOn", - link: "/sdk-reference/mee-client/account/methods/more/deploymentOn", - }, - { - text: "addressOn", - link: "/sdk-reference/mee-client/account/methods/more/addressOn", - }, - { - text: "isDelegated", - link: "/sdk-reference/mee-client/account/methods/more/isDelegated", - }, - { - text: "unDelegate", - link: "/sdk-reference/mee-client/account/methods/more/unDelegate", - }, - { - text: "waitForTransactionReceipts", - link: "/sdk-reference/mee-client/account/methods/more/waitForTransactionReceipts", - }, - ], - }, - { - text: "MEE Client Object Methods", - link: "/sdk-reference/mee-client/methods", - collapsed: true, - items: [ - { - text: "getQuote", - link: "/sdk-reference/mee-client/methods/getQuote", - }, - { - text: "executeQuote", - link: "/sdk-reference/mee-client/methods/executeQuote", - }, - { - text: "getFusionQuote", - link: "/sdk-reference/mee-client/methods/getFusionQuote", - }, - { - text: "executeFusionQuote", - link: "/sdk-reference/mee-client/methods/executeFusionQuote", - }, - { - text: "waitForSuperTransactionReceipt", - link: "/sdk-reference/mee-client/methods/waitForSuperTransactionReceipt", - }, - { - text: "getSuperTransactionReceipt", - link: "/sdk-reference/mee-client/methods/more/getSuperTransactionReceipt", - }, - { - text: "execute", - link: "/sdk-reference/mee-client/methods/more/execute", - }, - { - text: "executeSignedQuote", - link: "/sdk-reference/mee-client/methods/more/executeSignedQuote", - }, - { - text: "signQuote", - link: "/sdk-reference/mee-client/methods/more/signQuote", - }, - { - text: "getGasToken", - link: "/sdk-reference/mee-client/methods/more/getGasToken", - }, - { - text: "getInfo", - link: "/sdk-reference/mee-client/methods/more/getInfo", - }, - { - text: "getOnChainQuote", - link: "/sdk-reference/mee-client/methods/more/getOnChainQuote", - }, - { - text: "getPermitQuote", - link: "/sdk-reference/mee-client/methods/more/getPermitQuote", - }, - { - text: "signOnChainQuote", - link: "/sdk-reference/mee-client/methods/more/signOnChainQuote", - }, - { - text: "signPermitQuote", - link: "/sdk-reference/mee-client/methods/more/signPermitQuote", - }, - { - text: "getPaymentToken", - link: "/sdk-reference/mee-client/methods/more/getPaymentToken", - }, - ], - }, - { - text: "Helper / Utility Methods", - link: "/sdk-reference/mee-client/helpers", - collapsed: true, - items: [ - { - text: "runtimeERC20BalanceOf", - link: "/sdk-reference/mee-client/helpers/runtimeERC20BalanceOf", - }, - { - text: "runtimeEncodeAbiParameters", - link: "/sdk-reference/mee-client/helpers/runtimeEncodeAbiParameters", - }, - { - text: "getMultichainContract", - link: "/sdk-reference/mee-client/helpers/getMultichainContract", - }, - { - text: "getExplorerTxLink", - link: "/sdk-reference/mee-client/helpers/more/getExplorerTxLink", - }, - { - text: "getMeeScanLink", - link: "/sdk-reference/mee-client/helpers/more/getMeeScanLink", - }, - { - text: "getJiffyScanLink", - link: "/sdk-reference/mee-client/helpers/more/getJiffyScanLink", - }, - - ], - }, - ], + ogImageUrl: + "https://vocs.dev/api/og?logo=%logo&title=%title&description=%description", + description: "Biconomy is the universal interface to all blockchains", + title: "Biconomy", + titleTemplate: "%s | Biconomy Docs", + rootDir: "./docs", + editLink: { + pattern: + "https://github.com/bcnmy/abstract-docs/edit/develop/docs/pages/:path", + text: "Edit on GitHub", + }, + iconUrl: { + dark: "https://i.imgur.com/WyX6ebY.png", + light: "https://i.imgur.com/WyX6ebY.png", + }, + logoUrl: { + dark: "https://i.imgur.com/Mt2TmLl.png", + light: "https://i.imgur.com/Mt2TmLl.png", + }, + theme: { + accentColor: "#ec5d31", + variables: { + sidebar: { + width: "370px", + horizontalPadding: "40px", + verticalPadding: "20px", + }, + lineHeight: { + sidebarItem: "1.75em", + }, + }, + }, + socials: [ + { + icon: "x", + link: "https://x.com/biconomy", + }, + ], + topNav: [ + // { text: "Examples", link: "https://github.com/bcnmy/examples" }, + // { + // text: "API Docs", + // link: "https://bcnmy.github.io/abstractjs", + // }, + { + text: "Biconomy Network", + items: [ + { + text: "Overview", + link: "https://blog.biconomy.io/launching-biconomy-network-the-application-layer-to-make-a-thousand-chains-feel-like-one-2/", + }, + { + text: "Litepaper", + link: "https://blog.biconomy.io/launching-biconomy-network-the-application-layer-to-make-a-thousand-chains-feel-like-one-2/", + }, + ], + }, + ], + sidebar: [ + { + text: "", + items: [ + { + text: "๐ŸŠ Welcome to Biconomy", + link: "/", + }, + { + text: "๐Ÿค– Modular Execution Environment (MEE)", + link: "/new/learn-about-biconomy/what-is-mee", + }, + { + text: "โš–๏ธ MEE vs. ERC-4337", + link: "/new/learn-about-biconomy/mee-vs-4337", + }, + { + text: "๐Ÿ“‘ Nexus Smart Account", + link: "/new/learn-about-biconomy/nexus", + }, + ], + }, + { + text: "Integrate Biconomy ๐Ÿฆฎ", + items: [ + { + text: "๐ŸŽฌ Getting Started", + link: "/new/getting-started/getting-started", + }, + { + text: "๐Ÿ Set up AbstractJS", + link: "/new/getting-started/set-up-abstractjs", + }, + { + text: "๐Ÿ” Enable MEE for EOA Users", + link: "/new/getting-started/enable-mee-eoa-users", + }, + { + text: "๐Ÿ”ถ MEE + EIP-7702 (Embedded Wallets)", + link: "/new/getting-started/enable-mee-eoa-7702", + }, + { + text: "๐Ÿงก MEE + Fusion (External Wallets)", + link: "/new/getting-started/enable-mee-eoa-fusion", + }, + ], + }, + { + text: "Quickstart Guides ๐Ÿƒโ€โ™‚๏ธ", + items: [ + { + text: "๐Ÿ”ถ Get Started w/ Embedded Wallets", + link: "/new/quickstart/embedded-wallets-quickstart", + }, + { + text: "๐Ÿงก Get Started w/ External Wallets", + link: "/new/quickstart/external-wallets-quickstart", + }, + ], + }, - }, - { - text: "Account Migrations ๐Ÿ›ฃ๏ธ", - link: "/migrations", - collapsed: false, - items: [ - { - text: "V2 to Nexus Migration", - link: "/migrations/v2ToNexus", - }, - { - text: "Nexus to Nexus Migration", - link: "/migrations/nexusToNexus", - }, - ], - } - ], + { + text: "Gasless Multichain Orchestration ๐ŸŽป", + items: [ + { + text: "๐Ÿ“– Introduction to Orchestration", + link: "/new/learn-about-biconomy/understanding-composable-orchestration", + }, + { + text: "โ›ฝ๏ธ Pay Gas With ERC-20 Tokens", + link: "/new/getting-started/pay-gas-erc20-token", + }, + { + text: "๐Ÿ“ƒ Supported Gas Tokens", + link: "/new/getting-started/supported-gas-tokens", + }, + { + text: "๐Ÿค Sponsor Gas for Users", + link: "/new/getting-started/sponsor-gas-for-users", + }, + { + text: "โฑ๏ธ Set Execution Time Bounds", + link: "/new/getting-started/set-execution-time-bounds", + }, + { + text: "๐Ÿ’‰ Use Runtime Parameter Injection", + link: "/new/getting-started/understanding-runtime-injection", + }, + { + text: "๐Ÿงฉ Execute Composable Batch Calls", + link: "/new/getting-started/composable-batch-execute", + }, + { + text: "โ†”๏ธ Batch Composable Cross-Chain Calls", + link: "/new/getting-started/orchestrate-transactions-across-chains", + }, + { + text: "๐Ÿงน Cleanup if Instruction Fails", + link: "/new/getting-started/handling-partial-execution", + }, + { + text: "๐Ÿ”Ž Monitor Execution & Completion", + link: "/new/getting-started/monitor-execution-completion", + }, + ], + }, + { + text: "Smart Sessions (Account Permissions) ๐Ÿ—๏ธ", + items: [ + { + text: "๐Ÿ”– Introduction to Smart Sessions", + link: "/new/smart-sessions/introduction", + }, + { + text: "โœ๏ธ Execute Transactions on Users Behalf", + link: "/new/smart-sessions/execute-transactions-on-users-behalf", + }, + { + text: "๐Ÿ“ Smart Sessions Policies Overview", + link: "/new/smart-sessions/policies", + collapsed: true, + items: [ + { + text: "Sudo Policy", + link: "/new/smart-sessions/policies/sudo-policy", + }, + { + text: "Time Range", + link: "/new/smart-sessions/policies/time-range-policy", + }, + { + text: "Universal Action", + link: "/new/smart-sessions/policies/universal-action-policy", + }, + { + text: "Usage Limit Policy", + link: "/new/smart-sessions/policies/usage-limit-policy", + }, + ], + }, + ], + }, + { + text: "Preparing for Production โš ๏ธ", + items: [ + { + text: "๐Ÿ“ Set Manual Gas Limits", + link: "/new/preparing-for-production/set-gas-limits-manually", + }, + { + text: "๐Ÿ”‘ Set a Production API Key", + link: "/api-key", + }, + ], + }, + { + text: "Integration Guides", + items: [ + { + text: "๐Ÿ’ณ Embedded Wallets", + items: [ + { + text: "Privy", + link: "/new/integration-guides/wallets-and-signers/privy", + }, + { + text: "Turnkey", + link: "/new/integration-guides/wallets-and-signers/turnkey", + }, + ], + }, + { + text: "๐ŸŒ‰ Bridges and Solvers", + items: [ + { + text: "LiFi", + link: "/new/integration-guides/bridges-and-solvers/integrate-lifi", + }, + { + text: "Across", + link: "/new/integration-guides/bridges-and-solvers/integrate-across", + }, + { + text: "Relay", + link: "/new/integration-guides/bridges-and-solvers/integrate-relay", + }, + ], + }, + ], + }, + { + text: "Examples๐Ÿ‘‡", + items: [ + { + text: "๐Ÿ” Single Signature Approve + Execute", + link: "/new/examples/single-sig-approve-execute", + }, + // { + // text: '๐Ÿ”„ One Sig: Swap โ†’ Bridge โ†’ Execute', + // link: '/new/examples/swap-bridge-execute' + // }, + ], + }, + { + text: "๐Ÿง  Advanced", + items: [ + { + text: "๐Ÿ’พ Self-Hosted Sponsorship", + link: "/new/advanced/self-hosted-sponsorship", + }, + ], + }, + { + text: "Resources ๐Ÿ“ฆ", + items: [ + { + text: "๐Ÿ“‘ Contract Addresses & Audits", + link: "/contracts-and-audits", + }, + { + text: "โ›“๏ธ Supported Chains", + link: "/supportedNetworks", + }, + { + text: "๐Ÿ•‘ Multi-Version Nexus Support", + link: "/multi-version-nexus-support", + }, + ], + }, + { + text: "MEE SDK Reference โš™๏ธ", + link: "/sdk-reference", + items: [ + { + text: "Multichain Account Object Methods", + link: "/sdk-reference/mee-client/account", + collapsed: true, + items: [ + { + text: "build", + link: "/sdk-reference/mee-client/account/methods/build", + }, + { + text: "buildComposable", + link: "/sdk-reference/mee-client/account/methods/buildComposable", + }, + { + text: "deploymentOn", + link: "/sdk-reference/mee-client/account/methods/more/deploymentOn", + }, + { + text: "addressOn", + link: "/sdk-reference/mee-client/account/methods/more/addressOn", + }, + { + text: "isDelegated", + link: "/sdk-reference/mee-client/account/methods/more/isDelegated", + }, + { + text: "unDelegate", + link: "/sdk-reference/mee-client/account/methods/more/unDelegate", + }, + { + text: "waitForTransactionReceipts", + link: "/sdk-reference/mee-client/account/methods/more/waitForTransactionReceipts", + }, + ], + }, + { + text: "MEE Client Object Methods", + link: "/sdk-reference/mee-client/methods", + collapsed: true, + items: [ + { + text: "getQuote", + link: "/sdk-reference/mee-client/methods/getQuote", + }, + { + text: "executeQuote", + link: "/sdk-reference/mee-client/methods/executeQuote", + }, + { + text: "getFusionQuote", + link: "/sdk-reference/mee-client/methods/getFusionQuote", + }, + { + text: "executeFusionQuote", + link: "/sdk-reference/mee-client/methods/executeFusionQuote", + }, + { + text: "waitForSuperTransactionReceipt", + link: "/sdk-reference/mee-client/methods/waitForSuperTransactionReceipt", + }, + { + text: "getSuperTransactionReceipt", + link: "/sdk-reference/mee-client/methods/more/getSuperTransactionReceipt", + }, + { + text: "execute", + link: "/sdk-reference/mee-client/methods/more/execute", + }, + { + text: "executeSignedQuote", + link: "/sdk-reference/mee-client/methods/more/executeSignedQuote", + }, + { + text: "signQuote", + link: "/sdk-reference/mee-client/methods/more/signQuote", + }, + { + text: "getGasToken", + link: "/sdk-reference/mee-client/methods/more/getGasToken", + }, + { + text: "getInfo", + link: "/sdk-reference/mee-client/methods/more/getInfo", + }, + { + text: "getOnChainQuote", + link: "/sdk-reference/mee-client/methods/more/getOnChainQuote", + }, + { + text: "getPermitQuote", + link: "/sdk-reference/mee-client/methods/more/getPermitQuote", + }, + { + text: "signOnChainQuote", + link: "/sdk-reference/mee-client/methods/more/signOnChainQuote", + }, + { + text: "signPermitQuote", + link: "/sdk-reference/mee-client/methods/more/signPermitQuote", + }, + { + text: "getPaymentToken", + link: "/sdk-reference/mee-client/methods/more/getPaymentToken", + }, + ], + }, + { + text: "Helper / Utility Methods", + link: "/sdk-reference/mee-client/helpers", + collapsed: true, + items: [ + { + text: "runtimeERC20BalanceOf", + link: "/sdk-reference/mee-client/helpers/runtimeERC20BalanceOf", + }, + { + text: "runtimeEncodeAbiParameters", + link: "/sdk-reference/mee-client/helpers/runtimeEncodeAbiParameters", + }, + { + text: "getMultichainContract", + link: "/sdk-reference/mee-client/helpers/getMultichainContract", + }, + { + text: "getExplorerTxLink", + link: "/sdk-reference/mee-client/helpers/more/getExplorerTxLink", + }, + { + text: "getMeeScanLink", + link: "/sdk-reference/mee-client/helpers/more/getMeeScanLink", + }, + { + text: "getJiffyScanLink", + link: "/sdk-reference/mee-client/helpers/more/getJiffyScanLink", + }, + ], + }, + ], + }, + { + text: "Account Migrations ๐Ÿ›ฃ๏ธ", + link: "/migrations", + collapsed: false, + items: [ + { + text: "V2 to Nexus Migration", + link: "/migrations/v2ToNexus", + }, + { + text: "Nexus to Nexus Migration", + link: "/migrations/nexusToNexus", + }, + ], + }, + ], });