Hi, I'm trying to generate a genesis block for bitcoin: node genesis -a sha256d -z "Vecernji list 22/June/2023
Tvrtka OceanGate objavila: Vjerujemo da su svi putnici poginuli" -n 2832037265 -t 1529098663
But I get the following error:
/usr/src/diplomski/genesis-block/genesis.js:35
.command('*', 'create genesis block', () => { }, (argv) => {
^
SyntaxError: Unexpected token )
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:945:3
Hi, I'm trying to generate a genesis block for bitcoin: node genesis -a sha256d -z "Vecernji list 22/June/2023 Tvrtka OceanGate objavila: Vjerujemo da su svi putnici poginuli" -n 2832037265 -t 1529098663
But I get the following error: /usr/src/diplomski/genesis-block/genesis.js:35 .command('*', 'create genesis block', () => { }, (argv) => { ^ SyntaxError: Unexpected token ) at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:945:3
I have yarn installed