This is a Solidity library aiming to implement BLAKE2 (using EIP-152).
APACHE-2.0 License
This is a Solidity library aiming to implement BLAKE2.
Currently it tries to only support BLAKE2B using the EIP-152 precompile.
It requires a recent go-ethereum develop version, since it uses the precompile.
Use the geth-genesis.json
, run a local node and use truffle test
.
go-ethereum
commit cc9eb91d30a5d4806154b832b9665aecc617b6d8
geth --datadir ./dataDir init ./geth-genesis.json
geth --port 4321 --networkid 1234 --datadir=./dataDir --rpc --rpcport 8543 --rpcaddr 127.0.0.1 --rpcapi "eth,net,web3,personal,miner" --gasprice 0 --etherbase 0x627306090abab3a6e1400e9345bc60c78a8bef57 --mine
npm install --save truffle-hdwallet-provider
truffle test
to see tests succeed (or fail)Apache-2.0