diff --git a/04.md b/04.md index 350f9c07..f34d09ba 100644 --- a/04.md +++ b/04.md @@ -20,7 +20,7 @@ Code sample for generating such an event in JavaScript: ```js import crypto from 'crypto' -import * as secp from 'noble-secp256k1' +import * as secp from '@noble/secp256k1' let sharedPoint = secp.getSharedSecret(ourPrivateKey, '02' + theirPublicKey) let sharedX = sharedPoint.slice(1, 33)