Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Responsive Lottery Contract DApp React Front End, Styled with Semantic UI

NotificationsYou must be signed in to change notification settings

maxgrok/lottery-dapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm start to run app.

Warning!

This app presumes you have MetaMask installed and active on the Rinkeby Test Network

Summary

1 component, initializes 5 state properties.

As soon as component renders, it triggers the ComponentDidMount() method, then takes that data off the smart contract to display it in the component.

onSubmit() and onClick() - retreived list of active accounts, sets waiting message, then calls a contract.

render() - read different state properties and displayed them on the screen

Used .fromWei - converted wei to ether

About

Responsive Lottery Contract DApp React Front End, Styled with Semantic UI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp