Subgraph implementation for contract indexing. This indexes the TalkoFactory
, ShareableERC721
and LikeERC721
contracts. Only address of deployed TalkoFactory
has to be provided, other contracts are added dynamically as they are deployed.
Clone this repository using git. If you will be using also other repositories from atarca, place them all ine one directory. Example structure:
.
├── my dev folder
│ ├── nft-share-platform-frontend
│ └── nft-share-platform-backend
│ └── nft-share-platform-contracts
│ └── nft-share-platform-subgraph
...
Some workspace scripts rely on this structure and may not work properly when all projects are not placed in the same directory.
cd nft-share-platform-subgraph
npm ci
- Install docker. Check https://github.com/LimeChain/matchstick/blob/main/README.md#docker- if needed
- Run
npm run docker-build
- Make sure that in
package.json
thetest
command has the correct path to your source folder - Run
npm run test
This project has received funding from the European Union's Horizon 2020 Research and Innovation Programme under Grant Agreement Nº 964678.