diff --git a/pages/sdk/protocol-kit/guides/_meta.json b/pages/sdk/protocol-kit/guides/_meta.json index 8b9b21ba5..0a1f7ad08 100644 --- a/pages/sdk/protocol-kit/guides/_meta.json +++ b/pages/sdk/protocol-kit/guides/_meta.json @@ -1,5 +1,6 @@ { "safe-deployment": "Safe deployment", + "multichain-safe-deployment": "Multichain Safe deployment", "execute-transactions": "Execute transactions", "signatures": "Signatures", "migrate-to-v1": "Migrate to v1", diff --git a/pages/sdk/protocol-kit/guides/safe-deployment/multichain-safe-deployment.mdx b/pages/sdk/protocol-kit/guides/multichain-safe-deployment.mdx similarity index 83% rename from pages/sdk/protocol-kit/guides/safe-deployment/multichain-safe-deployment.mdx rename to pages/sdk/protocol-kit/guides/multichain-safe-deployment.mdx index 9745192a6..04c564b2a 100644 --- a/pages/sdk/protocol-kit/guides/safe-deployment/multichain-safe-deployment.mdx +++ b/pages/sdk/protocol-kit/guides/multichain-safe-deployment.mdx @@ -4,8 +4,6 @@ import { Steps } from 'nextra/components' This guide will teach you how to replicate a Safe address across different chains using the Protocol Kit. This process includes initializing the Protocol Kit, configuring the Safes to deploy, predicting its address on different chains, and executing the deployment transactions. -For more detailed information, see the [Protocol Kit Reference](../../../protocol-kit/reference/safe.mdx). - ## Prerequisites - [Node.js and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) @@ -46,7 +44,7 @@ pnpm add @safe-global/protocol-kit viem ### Create a signer - You need a signer to instantiate the Protocol Kit. This example uses a private key to obtain a signer, but other [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193) compatible signers are also supported. For detailed information about signers, please refer to the [Protocol Kit reference](../../../../reference-sdk-protocol-kit/overview.md). + You need a signer to instantiate the Protocol Kit. This example uses a private key to obtain a signer, but other [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193) compatible signers are also supported. For detailed information about signers, please refer to the [Protocol Kit reference](../../../reference-sdk-protocol-kit/overview.md). {/* */} @@ -58,7 +56,7 @@ pnpm add @safe-global/protocol-kit viem ### Configure the Safe deployment - Define the [`predictedSafe`](../../../../reference-sdk-protocol-kit/initialization/init.mdx#predictedsafe-optional) object with the configuration for all the Safe accounts you will deploy. Check the reference to learn about all the different configuration options. + Define the [`predictedSafe`](../../../reference-sdk-protocol-kit/initialization/init.mdx#predictedsafe-optional) object with the configuration for all the Safe accounts you will deploy. Check the reference to learn about all the different configuration options. {/* */} @@ -79,7 +77,7 @@ pnpm add @safe-global/protocol-kit viem ### Initialize the Protocol Kit - Initialize an instance of the Protocol Kit for each network where you want to deploy a new Safe smart account by calling the [`init`](../../../../reference-sdk-protocol-kit/initialization/init.mdx) method. Pass the `provider` with its corresponding value depending on the network, the `signer` executing the deployment, and the [`predictedSafe`](../../../../reference-sdk-protocol-kit/initialization/init.mdx#predictedsafe-optional) with the Safe account configuration. + Initialize an instance of the Protocol Kit for each network where you want to deploy a new Safe smart account by calling the [`init`](../../../reference-sdk-protocol-kit/initialization/init.mdx) method. Pass the `provider` with its corresponding value depending on the network, the `signer` executing the deployment, and the [`predictedSafe`](../../../reference-sdk-protocol-kit/initialization/init.mdx#predictedsafe-optional) with the Safe account configuration. {/* */} @@ -101,7 +99,7 @@ pnpm add @safe-global/protocol-kit viem ### Predict the Safe addresses - You can predict the Safe addresses by calling the [`getAddress`](../../../../reference-sdk-protocol-kit/safe-info/getaddress.mdx) method from each Protocol Kit instance and ensure that the result addresses are the same. + You can predict the Safe addresses by calling the [`getAddress`](../../../reference-sdk-protocol-kit/safe-info/getaddress.mdx) method from each Protocol Kit instance and ensure that the result addresses are the same. {/* */} @@ -114,7 +112,7 @@ pnpm add @safe-global/protocol-kit viem ### Deployment on Sepolia - Create the deployment transaction to deploy a new Safe account in Sepolia by calling the [`createSafeDeploymentTransaction`](../../../../reference-sdk-protocol-kit/deployment/createsafedeploymenttransaction.mdx) method. + Create the deployment transaction to deploy a new Safe account in Sepolia by calling the [`createSafeDeploymentTransaction`](../../../reference-sdk-protocol-kit/deployment/createsafedeploymenttransaction.mdx) method. {/* */} @@ -148,7 +146,7 @@ pnpm add @safe-global/protocol-kit viem {/* */} - Once the deployment transaction is executed, connect the new Safe address to the Protocol Kit instance by calling the [`connect`](../../../../reference-sdk-protocol-kit/initialization/connect.mdx) method. + Once the deployment transaction is executed, connect the new Safe address to the Protocol Kit instance by calling the [`connect`](../../../reference-sdk-protocol-kit/initialization/connect.mdx) method. {/* */} diff --git a/pages/sdk/protocol-kit/guides/safe-deployment/safe-deployment.mdx b/pages/sdk/protocol-kit/guides/safe-deployment.mdx similarity index 84% rename from pages/sdk/protocol-kit/guides/safe-deployment/safe-deployment.mdx rename to pages/sdk/protocol-kit/guides/safe-deployment.mdx index 933914874..f8c226b31 100644 --- a/pages/sdk/protocol-kit/guides/safe-deployment/safe-deployment.mdx +++ b/pages/sdk/protocol-kit/guides/safe-deployment.mdx @@ -4,7 +4,7 @@ import { Steps } from 'nextra/components' This guide will teach you how to deploy a new Safe using the Protocol Kit. This process includes initializing the Protocol Kit, setting up your Safe configuration, and executing the deployment. -For more detailed information, see the [Protocol Kit Reference](../../../../reference-sdk-protocol-kit/overview.mdx). +For more detailed information, see the [Protocol Kit Reference](../../../reference-sdk-protocol-kit/overview.mdx). ## Prerequisites @@ -45,7 +45,7 @@ pnpm add @safe-global/protocol-kit viem ### Create a signer - You need a signer to instantiate the Protocol Kit. This example uses a private key to obtain a signer, but [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193) compatible signers are also supported. For detailed information about signers, please refer to the [Protocol Kit reference](../../../../reference-sdk-protocol-kit/overview.md). + You need a signer to instantiate the Protocol Kit. This example uses a private key to obtain a signer, but [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193) compatible signers are also supported. For detailed information about signers, please refer to the [Protocol Kit reference](../../../reference-sdk-protocol-kit/overview.md). {/* */} @@ -57,7 +57,7 @@ pnpm add @safe-global/protocol-kit viem ### Initialize the Protocol Kit - Initialize an instance of the Protocol Kit for each network where you want to deploy a new Safe smart account by calling the [`init`](../../../../reference-sdk-protocol-kit/initialization/init.mdx) method. Pass the `provider` with its corresponding value depending on the network, the `signer` executing the deployment, and the [`predictedSafe`](../../../../reference-sdk-protocol-kit/initialization/init.mdx#predictedsafe-optional) with the Safe account configuration. + Initialize an instance of the Protocol Kit for each network where you want to deploy a new Safe smart account by calling the [`init`](../../../reference-sdk-protocol-kit/initialization/init.mdx) method. Pass the `provider` with its corresponding value depending on the network, the `signer` executing the deployment, and the [`predictedSafe`](../../../reference-sdk-protocol-kit/initialization/init.mdx#predictedsafe-optional) with the Safe account configuration. {/* */} @@ -84,7 +84,7 @@ pnpm add @safe-global/protocol-kit viem ### Predict the Safe address - You can predict the Safe address using the [`getAddress`](../../../../reference-sdk-protocol-kit/safe-info/getaddress.mdx) method in the Protocol Kit. + You can predict the Safe address using the [`getAddress`](../../../reference-sdk-protocol-kit/safe-info/getaddress.mdx) method in the Protocol Kit. {/* */} @@ -96,7 +96,7 @@ pnpm add @safe-global/protocol-kit viem ### Create the deployment transaction - Create the deployment transaction to deploy a new Safe smart account by calling the [`createSafeDeploymentTransaction`](../../../../reference-sdk-protocol-kit/deployment/createsafedeploymenttransaction.mdx) method. + Create the deployment transaction to deploy a new Safe smart account by calling the [`createSafeDeploymentTransaction`](../../../reference-sdk-protocol-kit/deployment/createsafedeploymenttransaction.mdx) method. {/* */} @@ -131,7 +131,7 @@ pnpm add @safe-global/protocol-kit viem ### Reinitialize the Protocol Kit - Once the deployment transaction is executed, connect the new Safe address to the Protocol Kit instance by calling the [`connect`](../../../../reference-sdk-protocol-kit/initialization/connect.mdx) method. + Once the deployment transaction is executed, connect the new Safe address to the Protocol Kit instance by calling the [`connect`](../../../reference-sdk-protocol-kit/initialization/connect.mdx) method. {/* */} diff --git a/pages/sdk/protocol-kit/guides/safe-deployment/_meta.json b/pages/sdk/protocol-kit/guides/safe-deployment/_meta.json deleted file mode 100644 index 4b462924c..000000000 --- a/pages/sdk/protocol-kit/guides/safe-deployment/_meta.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "safe-deployment": "Safe Deployment", - "multichain-safe-deployment": "Multichain Safe Deployment" -} \ No newline at end of file