diff --git a/README.md b/README.md index 1e48b7b..f1746ba 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,9 @@ yarn add @nostr-connect/connect To use the SDK, you need to create an ephemeral key. This key is used to authenticate your user and to create a session. ```typescript -import { generatePrivateKey } from 'nostr-tools'; +import { generateSecretKey } from 'nostr-tools'; -const sk = generatePrivateKey(); +const sk = generateSecretKey(); ```