Skip to content

Subgraph for Factory contract indexing event from this contract and for the contracts created

License

Notifications You must be signed in to change notification settings

RafaBlockDev/Factory-Subgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commerxe Subgraph API

How to use the subgraph First we have the following information schema, about the queries that have the API, you can find it in subgraph API query information.

The subgraph is getting the information through events for each function, specially is consuming the mint function events.

NOTE: This repositorie is built to deploy each time a commit is pushed to main branch. So, is not necessary to deploy the subgraph before push to main or to a pull request.

Run the project

To run the project:

yarn install
#or 
npm install --save

Then you need to install graph CLO globally with NPM or Yarn:

npm install -g @graphprotocol/graph-cli
#or 
yarn global add @graphprotocol/graph-cli

Then you have packages installed, please authenticate through CLI:

graph auth --product hosted-service 157aa23a5ba644a8bbbed8dd094ba1a6

And finally you commit changes, fdeploy subgraph:

graph deploy --product hosted-service rafablockdev/cxe-subgraph

Endpoint The endpoint commerxe Subgraph has the schemas to index all smart contract commerxe core information

About

Subgraph for Factory contract indexing event from this contract and for the contracts created

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published