From 83bd25eee205317fb55204d3bbc99ac70f81e39e Mon Sep 17 00:00:00 2001 From: Rustie Lin Date: Mon, 25 Mar 2024 15:14:39 -0700 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 57fbf6074..b3ae157a6 100644 --- a/README.md +++ b/README.md @@ -76,8 +76,8 @@ const modules = await aptos.getAccountModules({ accountAddress: "0x123" }); ```ts const account = Account.generate(); // defaults to Legacy Ed25519 -const account = Account.generate({ scheme: SingingSchemeInput.Secp256k1 }); // Single Sender Secp256k1 -const account = Account.generate({ scheme: SingingSchemeInput.Ed25519, legacy: false }); // Single Sender Ed25519 +const account = Account.generate({ scheme: SigningSchemeInput.Secp256k1Ecdsa }); // Single Sender Secp256k1 +const account = Account.generate({ scheme: SigningSchemeInput.Ed25519, legacy: false }); // Single Sender Ed25519 ``` #### Derive from private key