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
39 stars 92 forks source link

scrypt #26

Open grantmundl opened 3 years ago

grantmundl commented 3 years ago

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. (/home/ubuntu/node-genesis-block/genesis.js:57:5) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) working with other algos

RecoX commented 3 years ago

same issue here.

xsa-dev commented 2 years ago

You need to send N value, and R value to multihashing.node ...

vuicash commented 2 years ago

node genesis -a scrypt Error for me to Error: You must provide buffer to hash, N value, and R value

xsa-dev commented 2 years ago

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+

anonymousess commented 2 years ago

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+