kopia lustrzana https://github.com/nostr-protocol/nostr
add js formatting to sample code
rodzic
4b9e9d1232
commit
759997657f
|
@ -16,7 +16,7 @@ A special event with kind `4`, meaning "encrypted direct message". It is suppose
|
|||
|
||||
Code sample for generating such an event in JavaScript:
|
||||
|
||||
```
|
||||
```js
|
||||
import crypto from 'crypto'
|
||||
import * as secp from 'noble-secp256k1'
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue