Skip to content

Smart contracts for decentralized betting games, powered by Chainlink's VRF.

License

Notifications You must be signed in to change notification settings

0xHustling/LP-Betting-Pools

Repository files navigation

Betting games with yield generation for LPs - powered by Chainlink

License: MIT

Overview

The repository contains contracts for decentralized betting games, powered by Chainlink's VRF. The betting games contracts are paired with House Pools, where LPs can generate yield by providing liquidity for payouts to the players.

Installation

$ yarn

Compile

$ yarn compile

This task will compile all smart contracts in the contracts directory. ABI files will be automatically exported in artifacts directory.

Testing

$ yarn test

Code coverage

$ yarn coverage

The report will be printed in the console and a static website containing full report will be generated in coverage directory.

Code style

$ yarn prettier

Verify & Publish contract source code

$ npx hardhat  verify --network mainnet $CONTRACT_ADDRESS $CONSTRUCTOR_ARGUMENTS

About

Smart contracts for decentralized betting games, powered by Chainlink's VRF.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published