Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.53 KB

File metadata and controls

44 lines (28 loc) · 1.53 KB

2key-subgraphs

2key-subgraph using graph-node to indexes for real-time querying of smart contract states on 2key Plasma and Public Blockchains.

2key has 2 subgraph project which serve the blockchain state easily for the dApp:

  1. ####TestNet subgraph:
  2. ####Plasma subgraph:

Installation

Testnet subgraph:

Steps to run Testnet subgraph locally and deploy it to another hosted solution.
  1. Clone the project.
  2. yarn install
  3. yarn codegen
  4. Create an account on The Graph your own subgraph.
  5. Change the yarn deploy command on package.json and specify your user and subgraph name.
  6. Run yarn deploy you will need to change the relevant information
  7. Go for your subgraph playground and to check the changes made for the Subgraph.

Plasma blockchain

  • This part will be release soon.

Usage:

On the playground there's a schema viewer and GraphQL interface to allow you query and see updated 2key smart contracts states.


Contributers: