ZK-Snark powered Battleship on the Ethereum Blockchain
To run:
yarn install
# Compile the circuits
cd scripts && ./circuits.sh
# Compile the contracts
yarn hardhat compile
# Run the tests to simulate gameplay
yarn hardhat test
zk-SNARK Battleship
ZK-Snark powered Battleship on the Ethereum Blockchain
To run:
yarn install
# Compile the circuits
cd scripts && ./circuits.sh
# Compile the contracts
yarn hardhat compile
# Run the tests to simulate gameplay
yarn hardhat test
zk-SNARK Battleship