package
0.0.0-20230712192225-9c382e0409f5
Repository: https://github.com/klayoracle/go-ecvrf.git
Documentation: pkg.go.dev

# README

Testing

Step 1

Install and start ganache cli.

 npm install ganache --global
 
 ganache

Step 2

Copy one of the private key and replace in the verify_test.go on line 26 without the 0x prefix of the private key.

Step 3

Run from this directory root on terminal.

go test

Proof will be generated in golang and verified with solidity.

solc --abi contract/VerifyVRF.sol -o ./build --bin --overwrite

abigen --bin=build/VerifyVRF.bin --abi=build/VerifyVRF.abi --pkg solidity_vrf --type VerifyVRF -out verify.go