This project is made using Subquery's starter template. This project is used to index subsocial blockchain (defaults to soonsocial (subsocial's testnet)), to calculate each users' reputation.
Currently there is 2 server running for indexing both mainnet and testnet. These servers are not reliable as I maybe will shut it down.
- http:https://108.136.47.177:3000/ which indexes testnet (from block 369,000)
- http:https://108.136.230.159:3000/ which indexes mainnet (from block 655,000)
To change the defaults to index mainnet instead of testnet, you have to:
- open project.yaml
- change the network => chainId to
0x0bd72c1c305172e1275278aaeb3f161e02eccb7a819e63f62d47bd53a28189f8
- change the network => endpoint to
wss:https://rpc.subsocial.network
- yarn
- yarn codegen
- yarn build
- yarn start:docker
Note: step 4, sometimes will fail to run, you need to check the docker logs. Usually the error is just the gql server can't listen to the indexer, so just wait until the indexer starting to fetches block and rerun step 4 to relaunch the gql server.