adrianmcli / truffle-react

⚛️ A boilerplate Truffle Box project with Create React App for rapid Ethereum Dapp development
46 stars 5 forks source link

Remove Truffle-Contract and unnecessary abstractions #11

Closed adrianmcli closed 6 years ago

adrianmcli commented 6 years ago

Several things were done here:

  1. Removed Truffle-Contract dependency
  2. getAccounts can now be called directly from the Web3 1.0 API
  3. Simplified method of getting contract instance
  4. Calling Smart Contract methods is now done the regular Web3 way (instead of the truffle-contract way)