Skip to content

A simple contracts which select one of the team win and distributes prize in eth

Notifications You must be signed in to change notification settings

vyas-git/bet-eth-smartcontract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Bet Contract with frontend

A simple contracts which select one of the team win and distributes prize in eth

Setup

  • Install Truffle
    npm install truffle -g

  • Install node_modules
    npm i

Truffle Compile

  • Replace private key and infura url in truffle-config.js/truffle.js
    truffle compile

Deploy

  • Truffle migrate
    truffle migrate --network goerli

Start Frontend

  • Start npm project
    npm start

About

A simple contracts which select one of the team win and distributes prize in eth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published