GithubHelp home page GithubHelp logo

greyecologist / client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from daostack/arc.js

0.0 2.0 0.0 2.01 MB

DAOstack JavaScript Client

License: GNU General Public License v3.0

JavaScript 0.08% TypeScript 93.12% Shell 6.79%

client's Introduction

DAOstack Client

A frontend client library for the DAOstack subgraph

Build Status

(Project started using TypeScript Library Starter)

Usage

  1. npm install --save @daostack/client
  2. import Arc from '@daostack/client'

Developing

Get all services running:

docker-compose up graph-node

This command will build and start a graph instance, ganache, IPFS and postgresql.

Before being able to use these services, you need to deploy the DAOStack contracts and configure the graph node to listen to changes:

npm run setup-env

To run the tests, run:

npm run test

After you are done, run:

docker-compose down -v

If you update the subgraph dependency in package.json, you must rebuild the containers and re-configure the graph node:

docker-compose build
npm run setup-env

Commands

  • npm run build: Generate bundles and typings, create docs
  • npm run lint: Lints code
  • npm run commit: Commit using conventional commit style (husky will tell you to use it if you haven't ๐Ÿ˜‰)

client's People

Contributors

ben-kaufman avatar jellegerbrandy avatar tsuberim avatar

Watchers

 avatar  avatar

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.