kerala-blockchain-academy / agrochain Goto Github PK
View Code? Open in Web Editor NEWAgricultural Supply Chain Dapp With Micro-Finance
License: MIT License
Agricultural Supply Chain Dapp With Micro-Finance
License: MIT License
Thanks for your kind sharing of this repo, I am just fresh to dapps development. I have configurated Truffle and Ethereum on my PC, now I want to learn how to develop a dapp, could you please tell me how to run your AgroChain dapp on my local computer?
and I have a environment like this:
OS: Ubuntu 16.04
node --version: v8.9.3
npm --version: 5.6.0
truffle version: Truffle v4.0.4 (core: 4.0.4)
Solidity v0.4.18 (solc-js)
truffle test
Using network 'development'.
0 passing (0ms)
Team,
I am new to the blockchain world, so this could well be a newbie issue, with that said, I really would like to see this work. I am using the Ganache/Truffle framework. The default for Ganache is port 7545 rather than 8545. I've changed the port value in all of the other *.js objects to reference port #7545. I also followed the "Important_Instructions" text file, thus changing the connection address to the default one published after the migrations. I do see the Network ID appear when the localhost:3000 web page appears. Please advise on what else I should be looking for.
I am reading the 'Important Instructions.txt' file and it states:
In src directory --> app.js
Line number 43820 --->
change the variable conaddress = "0x733fa0cfc10adee89e2e426b133f7b40706d5ea3";
I can find app.js, however, I cannot seem to find line number 43820 and conaddress. I think there might be a mistype.
HI...Im doing Project about Food Certification Process Using BlockChain...Im a fresher...can u share me Where i can start to find the traceability of from consumer to farmer??
then what way i want to make the Attributes of Stakeholders????pls suggest me...
Uncaught BigNumber Error: new BigNumber() not a base 16 number:
at raise (http://localhost:3000/app.js:40822:25)
at http://localhost:3000/app.js:40810:33
at new BigNumber (http://localhost:3000/app.js:39857:28)
at SolidityTypeDynamicBytes.formatOutputDynamicBytes [as _outputFormatter] (http://localhost:3000/app.js:34336:19)
at http://localhost:3000/app.js:34877:25
at SolidityTypeDynamicBytes.SolidityType.decode (http://localhost:3000/app.js:34878:11)
at http://localhost:3000/app.js:34061:29
at Array.map ()
at SolidityCoder.decodeParams (http://localhost:3000/app.js:34060:26)
at SolidityFunction.unpackOutput (http://localhost:3000/app.js:37228:24)
at Object.callback (http://localhost:3000/app.js:37256:30)
at http://localhost:3000/app.js:38208:25
at http://localhost:3000/app.js:39267:9
at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/inpage.js:1:110497
at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/inpage.js:1:9124
at o (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/inpage.js:1:27347)
at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/inpage.js:1:11957
at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/inpage.js:1:9124
at u (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/inpage.js:1:12233)
at a (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/inpage.js:1:12155)
at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/inpage.js:1:11957
at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/inpage.js:1:109544
Uncaught Error: MetaMask: The MetaMask Ethereum provider does not support synchronous methods like eth_blockNumber without a callback parameter.
When submitting farmer details, the scenario that the transaction is revoked due to chain reorganization is not considered.
When the transaction is executed but then revoked, status of the transaction still shows success
while the transaction is still is transaction pool.
success
in UI.If the transactions revoked by chain reorganization, it should reveal on UI.
Is there a live demo hosted on some site?
When suing fund farmer funationality, the balance is immediately updated when the transaction is sent, but not yet executed
The balance should only update when transaction is executed
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.