nasa8x / node-genesis-block

Create Genesis Block for Bitcoin, Litcoin, Dash, X11, X13, X15, X17, Geek, Quark, Keccak, Qubit, NeoScrypt, Scrypt...
https://morioh.com/topic/blockchain
40 stars 92 forks source link

SyntaxError: Unexpected token ) #32

Open jukmmartina opened 1 year ago

jukmmartina commented 1 year ago

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