Giter Site home page Giter Site logo

kerala-blockchain-academy / agrochain Goto Github PK

View Code? Open in Web Editor NEW
183.0 23.0 126.0 8.51 MB

Agricultural Supply Chain Dapp With Micro-Finance

License: MIT License

HTML 0.63% JavaScript 98.85% CSS 0.52%
blockchain ethereum truffle geth agriculture dapp

agrochain's People

Contributors

nikhilvc1990 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

agrochain's Issues

How to run that dapp?

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)

jscript get() call does not retrieve data

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.

Food Certification Process

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...

bignumber error

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

Transaction status shows success when it is revoked by chain reorganization

Bug Report

Description

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.

Reproduce Steps

  1. send transaction to submit farmer details
  2. When the transaction is executed, UI shows transaction succeeds
  3. Let blockchain reorganize by importing a side chain
  4. The transaction is revoked and returns to transaction pool.
  5. The transaction still shows success in UI.

Expected Behaviour

If the transactions revoked by chain reorganization, it should reveal on UI.

Live Demo

Is there a live demo hosted on some site?

Micro-finance balance updates when transaction has not been executed

Bug Report

Description

When suing fund farmer funationality, the balance is immediately updated when the transaction is sent, but not yet executed

Reproduce Steps

  1. send transaction to fund farmer
  2. don't mine blocks and let the transaction stays in pool
  3. the balance is already updated when transaction is not yet executed

Expected Behaviour

The balance should only update when transaction is executed

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.