/lottery-smart-contract

A smart contract to pick a lottery winner

Primary LanguageJavaScriptMIT LicenseMIT

Lottery Smart Contract

License: MIT

Getting Started

Prerequisites

This project runs on Node.js

After installation, run node -v to make sure node installed correctly. Example

$ node -v
v8.9.1

Installing

Run npm install to install all project dependencies.

Deploying Project to Ethereum Blockchain

npm run deploy

Running Tests

To run the project tests, run the following command:

npm test

Authors

License

Licensed under the MIT License, Copyright © 2018-present Max Li.

See LICENSE for more information.