Update README.md

This commit is contained in:
Asai Toshiya 2023-12-21 00:06:58 +09:00 committed by fiatjaf_
parent 1b31a27d89
commit 7552a36ff2
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ If using TypeScript, this package requires TypeScript >= 5.0.
```js
import { generateSecretKey, getPublicKey } from 'nostr-tools'
let sk = generateSecretKey() // `sk` is a hex string
let sk = generateSecretKey() // `sk` is a Uint8Array
let pk = getPublicKey(sk) // `pk` is a hex string
```