diff --git a/examples/idos-example-dapp/api/EVM.ts b/examples/idos-example-dapp/api/EVM.ts index 166ae81ac..14b6fc593 100644 --- a/examples/idos-example-dapp/api/EVM.ts +++ b/examples/idos-example-dapp/api/EVM.ts @@ -19,7 +19,7 @@ const evmGranteeSigner = new ethers.Wallet( const idosGrantee = await idOSGrantee.init({ chainType: "EVM", granteeSigner: evmGranteeSigner, - encryptionSecret: ENCRYPTION_SECRET_KEY, + encryptionPrivateKey: ENCRYPTION_SECRET_KEY, }); const encryptionPublicKey = idosGrantee.encryptionPublicKey; diff --git a/examples/idos-example-dapp/api/NEAR.ts b/examples/idos-example-dapp/api/NEAR.ts index e0cbbfee9..4e0ef185d 100644 --- a/examples/idos-example-dapp/api/NEAR.ts +++ b/examples/idos-example-dapp/api/NEAR.ts @@ -15,7 +15,7 @@ const nearGranteeSigner = KeyPair.fromString(NEAR_GRANTEE_PRIVATE_KEY); const idosGrantee = await idOSGrantee.init({ chainType: "NEAR", granteeSigner: nearGranteeSigner, - encryptionSecret: ENCRYPTION_SECRET_KEY, + encryptionPrivateKey: ENCRYPTION_SECRET_KEY, }); const encryptionPublicKey = idosGrantee.encryptionPublicKey;