There was an error while loading. Please reload this page.
1 parent 753ce8f commit 9f08dcaCopy full SHA for 9f08dca
src/keygenerator.js
@@ -1,3 +1,4 @@
1
+'use strict';
2
const EC = require('elliptic').ec;
3
4
// You can use any elliptic curve you want
@@ -10,7 +11,13 @@ const privateKey = key.getPrivate('hex');
10
11
12
// Print the keys to the console
13
console.log();
-console.log('Your public key (also your wallet address, freely shareable)\n', publicKey);
14
+console.log(
15
+ 'Your public key (also your wallet address, freely shareable)\n',
16
+ publicKey
17
+);
18
19
-console.log('Your private key (keep this secret! To sign transactions)\n', privateKey);
20
21
+ 'Your private key (keep this secret! To sign transactions)\n',
22
+ privateKey
23
0 commit comments