Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
```


Expand Down
Loading