{"repo":"nautls/ergo-graphql","free":true,"listed":false,"github":"https://github.com/nautls/ergo-graphql","clone":"git clone https://github.com/nautls/ergo-graphql.git","description":"Ergo Platform GraphQL server","language":"TypeScript","stars":15,"topics":["blockchain","explorer","graphql","ergo"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"ergo-graphql Ergo GraphQL server is on top of Ergo Platform's explorer database schema. This repository also includes a TypeScript package for client-side static typing. Project Setup (Manual) Environment file pattern The .env file must be placed in the root directory following the pattern described below. Compile and run for development Compile and run for production Run unit tests Lint Project Setup (Docker) You can use Docker to setup the project, or just the redis, as well. Building the ergo-graphql Docker image Using docker-compose, you can run the whole project, or just the redis container. Running the redis container Running the whole project Requesting Data You can either install some REST-API client (like Insomnia and Postman). Or you can use curl to send a query as well: We have a set of queries/mutation as well: Boxes (Query) With this query, you can get boxes of the ergo blockchain. The arguments of this query are: - skip (Int): How many items to skip; Default value is 0. - take (Int): How many items to take; Default value is 50. - boxId (String): To filter a unique box by id; It's deprecated, please use boxIds instead. - boxIds ([String!]): To filter a set of unique boxes by id. - registers (Registers): To filter boxes that have special registers from R4 to R9. Note that registers filter should be used in combination with spent and at least one of boxId , transactionId , headerId , address , ergoTree or ergoTreeTemplateHash fields. - transactionId (String): To fi","default_branch":null,"files":null,"tree":[],"storefront":"/r/nautls","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nautls/ergo-graphql/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."}