stoutsource / dapp-demo3

Ethereum Demo Dapp
https://stoutsource.github.io/dapp-demo3/
0 stars 1 forks source link

Add React web app #1

Open chebykin opened 7 years ago

chebykin commented 7 years ago

A basic React.js web application has to be implemented over the existing vanilla js app. The following stack should be used:

Please, do not use Redux. This as a damn simple app much simpler than a regular CRUD apps.

I will add behavior description to the README.md file shortly.

chebykin commented 7 years ago

Available methods to interact with a blockchain are located at this contract file https://github.com/stoutsource/dapp-demo3/blob/master/contracts/Profiles.sol

There are no options to implement a complex calls like get all users so you have to use low level methods like fetching each user with a distinct call to achieve this.

You can access contract's methods through

Profile.deployed().then((instance) => {
    instance.methodToInvoke();
  })
chebykin commented 7 years ago

And keep in mind that Profile.sol contract may be a buggy enough, so please file a ticket if you feel that something doesn't works as expected.