davidoevans / react-redux-dapp Goto Github PK
View Code? Open in Web Editor NEWA template Ethereum Dapp project based on ReactJS and Redux
License: MIT License
A template Ethereum Dapp project based on ReactJS and Redux
License: MIT License
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.
Some examples would include:
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.
What plans are being made to update this section? What is necessary to do so?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.