{"repo":"aws-samples/aws-graph-blockchain-indexer","free":true,"listed":false,"github":"https://github.com/aws-samples/aws-graph-blockchain-indexer","clone":"git clone https://github.com/aws-samples/aws-graph-blockchain-indexer.git","description":"CDK for running a Graph node on AWS","language":"JavaScript","stars":18,"topics":["aws","blockchain","ethereum","web3"],"license":"MIT-0","category":"blockchain-web3","readme_excerpt":"Welcome to the TheGraph-Service CDK This repo helps to spin up your own self-hosted Graph node on AWS. It contains a CDK to deploy a node on ECS/EC2, an IPFS node, a managed PostgreSQL database, and an GraphQl API using ApiGateway. The main purpose of this service is to index and prepare the event data coming from the specified smart contracts, map them into a DB schema, store them in the PostgresqlDB in a more efficient form, and allow basic GraphQL queries through the API. The mappings and smart contract definitions are called subgraph . The CDK has two stacks in it: 1. BlockchainNodeStack: provides an Ethereum full node based on Amazon Managed Blockchain Access (AMB). This node can act as a source for the Graph. If you want to use AMB as your blockchain node, deploy the BlockchainNodeStack. It outputs the node's endpoints. Take note of the AccessorUrl . This is what you need as endpoint for the graph stack. 2. TheGraphServiceStack provides the Graph node. This repo has the normal folder structure for a CDK application. In addition, there are two subfolders worth mentioning: 1. subgraph : This folder contains the defintion for a subgraph that can be used for testing. Once theGraph is running, the subgraph needs to be deployed. Then the node will start indexing the subgraph. 2. frontend : A simple react frontend that can be used to test the subgraph and display its results. It can be used to demonstrate the time-travel capabilities of the graph node. It works with the boredA","default_branch":null,"files":null,"tree":[],"storefront":"/r/aws-samples","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aws-samples/aws-graph-blockchain-indexer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}