New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nick-origin-graphql

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nick-origin-graphql

Origin GraphQL server

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Origin GraphQL

This experimental package provides a GraphQL interface to Origin Protocol intended to be consumed by ApolloClient. It uses apollo-link-schema to expose a client-side GraphQL server that can also be used server side.

This means a UI is able to leverage the power of GraphQL without depending on a centralized server. The only server side dependencies are an Ethereum node and and an IPFS server.

A GraphiQL demo is available here

Key files

  • src/index.js exposes an ApolloClient instance.
  • src/contracts.js manages connections and subscriptions to an Ethereum node.
  • src/typeDefs GraphQL type definitions.
  • src/resolvers query resolvers.
  • src/mutations mutation resolvers. Code for executing mutations.
  • src/utils/OriginEventSource get the current state of listings or offers.
  • src/utils/eventCache Caches events from an Ethereum node.

FAQs

Package last updated on 05 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc