Git Product home page Git Product logo

ember-peer-review-ethereum's People

Contributors

ember-tomster avatar jnayak1 avatar

Watchers

 avatar  avatar

ember-peer-review-ethereum's Issues

Decentralized File Storage

Files cannot be stored directly on the ethereum blockchain, as it would be too costly. We need to find a way to store files such that they will always be accessible forever at a static address. Also, we need to be able to verify that the file has not changed.
Through hashing the file, we can verify that the file has not changed. We can then use that hash as the static address. However we still need to find a place to store the file so that it will always be accessible.

File Hash Is always 0x

No matter what I pass in as the parameter to the PeerReview constructor, the filehash is always initialized to 0x

Journal Address is always 0x00000...

Right now, when I create a PeerReview contract and pass in an address as a parameter, the journal address in the contract always gets initialized to 0x0000.... no matter what address I put as a parameter to the constructor.

Keeping track of contracts

One issue that I am having is with keeping track of the addresses of contracts after they have been created. Can I find a contract again if I don't have the address? What information do I need?

Possible Solutions:

  • web3js filter
    • Filter ethereum blockchain for stuff that meets certain criteria
  • POST to an API on callback function of contract deployment
    • Not DAPPy, but very easy to implement
  • A master contract creates the PeerReview contract instead of the user
    • Call a function on a master contract that creates a PeerReview contract
    • Master contract keeps track of the PeerReview contracts it has created
    • Methods on contract that allow client to filter for PeerReview contracts of interest (like those from a specific journal, or only those that they are a part of) <- this would be expensive. We can just do this client side or on an api.
    • Client can then filter for Events on the PeerReview contracts of interest
  • Contract that filters Ethereum blockchain and caches results?

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.