Git Product home page Git Product logo

ethberlin's Introduction

Artnonmous ETHBerlin Hack

Key Directory Structure

  • artnonmous-subgraph/: Holds the subgraph for thegraph.com's engine
  • graph-node-container/: Custom scripts and runtime configuration (in docker) to run the graph-node-container locally
  • src/: Holds the front-end web application source code
  • contracts/: Holds the solidity contracts that run the backbone of the application

Preview!

http://artonomous-ethberlin.s3-website-us-east-1.amazonaws.com/

Deployment

  • To develop the frontend: docker-compose up in the root directory
  • To build the frontend: yarn build.
  • To build the graph-node-container dep containers:
    • cd graph-node-container && docker-compose
  • To generate the ipfs
    • First, the graph-node-container cluster needs to be running, or at least IPFS
    • Second, node genAbi.js needs to be run from the root directory if any of the solidity contracts are changed, after they have been compiled to build/
    • Third, yarn build-ipfs builds the subgraph code from the yaml manifest and the graphql and bootstrap typescript files into a ipfs hash, which is printed upon completion. This hash is needed to run the graph-node-container.
  • To run the graph-node-container, with the docker images for postgres and ipfs running, run ./run.sh IPFS_SUBGRAPH_HASH which starts the server on localhost:8000.
  • Finally, the frontend graphql server can be configured in src/apollo.js and the ipfs endpoint in src/fsapi.js.

ethberlin's People

Contributors

timdaub avatar iain-oscar avatar tarrencev avatar gmcmullen avatar katotopark avatar iainnash avatar

Stargazers

Liam Gray avatar As avatar Rosa avatar Anett  avatar Matej yangwao avatar Haythem Sellami avatar  avatar kinglouisxvii avatar Charles Rice avatar ligi avatar  avatar Yuriy Dybskiy avatar Roberto García avatar Will Pankiewicz avatar Georgios Konstantopoulos avatar Seth Feibus avatar Matt Tyndall avatar Somer B. avatar  avatar Rodolphe Marques avatar zhangsoledad avatar Bear Wang avatar eos21 avatar Maria Gomez avatar Michael Zargham avatar  avatar  avatar

Watchers

James Cloos avatar Roberto García avatar Seth Feibus avatar  avatar Maria Gomez avatar  avatar  avatar

ethberlin's Issues

What to do with this code base?

Considering that we have now two separate code bases: What to do?

Options that I was able to recognize:

  • leave them separated and continue develop one of them further
  • merge ethberlin into artonomous-mvp (and vice versa even though that wouldn't make much sense)
  • (more?)

I'm eager to develop this project to main net :)

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.