Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 927 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 927 Bytes

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