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:
- ####TestNet subgraph:
- Index the public blockchain using hosted solution of The Graph
- 2key Ropsten GraphQL playground
- ####Plasma subgraph:
- Index Plasma blockchain using in-house graph-node infrastructure.
- 2key Plasma GraphQL playground
- Clone the project.
yarn install
yarn codegen
- Create an account on The Graph your own subgraph.
- Change the
yarn deploy
command on package.json and specify your user and subgraph name. - Run
yarn deploy
you will need to change the relevant information - Go for your subgraph playground and to check the changes made for the Subgraph.
- This part will be release soon.
On the playground there's a schema viewer and GraphQL interface to allow you query and see updated 2key smart contracts states.
- 4tal - Idan Portal - [email protected]