Skip to content

PatrickAlphaC/chainlink_lottery_truffle

 
 

Repository files navigation

Ivan On Tech - Chainlink 101 Lottery

Note! This has recently been updated for the new Chainlink VRF API. userProvidedSeed is no longer needed.


Ivan On Tech Logo


Requirements

  • NPM
  • Truffle
  • truffle chainlink smartcontractkit/box

Installation

  1. Install dependencies by running:
npm install

# OR...

yarn install

Deploy

For deploying to the kovan network, Truffle will use truffle-hdwallet-provider for your mnemonic and an RPC URL. Set your environment variables $RPC_URL and $MNEMONIC before running:

truffle migrate --network kovan --reset

Test

truffle test 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 68.0%
  • JavaScript 32.0%