This repository contains the Solidity contracts for a decentralized protocol for generating verifiably random numbers. This is intended for use in multiplayer games that require a fair and secure method of generating random numbers.
-
DKG.sol: Contains the contract for the Distributed Key Generation (DKG) process
-
ElGamal.sol: Contains the contract for the ElGamal encryption process
forge install
forge test -vvvvv
npx thirdweb
npx thirdweb build
npx thirdweb deploy