scrypt
not working with scrypt, get this error /home/ubuntu/node-genesis-block/node_modules/yargs/yargs.js:1109 else throw err ^
Error: You must provide buffer to hash, N value, and R value
at PoW (/home/ubuntu/node-genesis-block/genesis.js:158:59)
at Object.require.alias.alias.alias.alias.alias.alias.alias.alias.alias.help.command [as handler] (/home/ubuntu/node-genesis-block/genesis.js:51:9)
at Object.runCommand (/home/ubuntu/node-genesis-block/node_modules/yargs/lib/command.js:235:44)
at Object.parseArgs [as _parseArgs] (/home/ubuntu/node-genesis-block/node_modules/yargs/yargs.js:1050:24)
at Object.get [as argv] (/home/ubuntu/node-genesis-block/node_modules/yargs/yargs.js:965:21)
at Object.
same issue here.
You need to send N value, and R value to multihashing.node ...
node genesis -a scrypt Error for me to Error: You must provide buffer to hash, N value, and R value
I am use this script for generating genesis block for scrypt: https://github.com/lhartikk/GenesisH0
But this worked only for old old python 2.7 only, need support for python 3.8+
For old version Ubuntu 18.
apt install python
apt install python-pip
Worked for me
I am use this script for generating genesis block for scrypt: https://github.com/lhartikk/GenesisH0
But this worked only for old old python 2.7 only, need support for python 3.8+