Skip to content

Graph Indexes for real-time querying of smart contract states on 2key Plasma and Public Blockchains

Notifications You must be signed in to change notification settings

2key/2key-subgraphs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

Graph Indexes for real-time querying of smart contract states on 2key Plasma and Public Blockchains

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published