Giter VIP home page Giter VIP logo

react-redux-dapp's Issues

First run failed do to build error

I ran into an issue, and I'm sure I could figure it out with a few hours of fiddling, but experience has taught me that sometime's it's better to just risk looking like a n00b and ask the damn question, than to waste a bunch of time on something that someone already knows the answer to.

I cloned the repo, then ran npm i and npm start which resulted in the error:
Error in ./src/middleware/metacoin.js Module not found: ../../build/contracts/MetaCoin.json in /Users/*your-username-here*/Blockchain/railroad/src/middleware

Seems to me like it must be something to do with the build process, and that's when I realized I hadn't actually run any build commands. Is there a missing build step in the ReadMe?

Thanks for your work in putting this together btw! I'm really excited to make use of it.

Demonstrate different methods of using web3

Some examples would include:

  1. Direct using HttpProvider. This is already in project for connecting to testrpc on localhost
  2. As injected by a Wallet such as MetaMask(?). I believe this will allow for using the wallet to determine which EVM to use.
  3. As injected (provided) by uPort which allows for authenticating with a digital identity.
  4. other?

Settle on method to initialize web3

Will likely end up similar to what truffle init webpack project is using which is effectively what is implemented now but logic is reversed due to error:

Uncaught Error: The MetaMask Web3 object does not support synchronous methods like eth_getBalance without a callback parameter.

There's also overhead having to re-initialize MetaMask each time testrpc is restarted.

Failed to compile

screen shot 2017-04-15 at 2 35 20 pm

I am using Node v7.3.0 and have the latest truffle and testrpc installed. Any ideas?

Consolidate build to webpack

create-react-app ejected provides a nice base project based on webpack.

truffle provides a nice build and compile for Solidity smart contracts which includes appending javascript to the specified app.js to create deployed() references to the deployed contracts.

There are instructions for using Bundling Truffle with Webpack and that's what i'd like to see in this project.

Part of the challenge is modifying the somewhat rich build package provided by create-react-app to fit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.