diff --git a/docs/pages/sdk/getting-started/tutorial.mdx b/docs/pages/sdk/getting-started/tutorial.mdx index 7c9bdcf..d45ca67 100644 --- a/docs/pages/sdk/getting-started/tutorial.mdx +++ b/docs/pages/sdk/getting-started/tutorial.mdx @@ -77,6 +77,7 @@ Add the following code to create the ECDSA validator: ```typescript import { signerToEcdsaValidator } from "@zerodev/ecdsa-validator" +import {KERNEL_V3_1} from "@zerodev/sdk/constants"; const main = async () => { // other code... @@ -84,6 +85,7 @@ const main = async () => { const ecdsaValidator = await signerToEcdsaValidator(publicClient, { // [!code focus] signer, // [!code focus] entryPoint, // [!code focus] + kernelVersion: KERNEL_V3_1, // [!code focus] }) // [!code focus] } ``` @@ -227,4 +229,4 @@ In this tutorial, we were able to mint an NFT without paying gas, thanks to gas For next steps: - Check out [the core API](/sdk/core-api/create-account) to learn more about the SDK -- Read some [code examples](https://github.com/zerodevapp/zerodev-examples) of using ZeroDev \ No newline at end of file +- Read some [code examples](https://github.com/zerodevapp/zerodev-examples) of using ZeroDev