(Legacy) Subgraph for Rubicon Finance's RubiconMarket
contract on Optimistic Mainnet.
Subgraph for Rubicon Finance's RubiconMarket
contract on The Graph's Legacy Explorer.
See The Graph's documentation) on how what the difference is between a subgraph on a Legacy Explorer and a subgraph on Subgraph Studio.
When you create a subgraph on the Legacy Explorer, you must use the access token provided by on your dashboard.
For the Rubicon Subgraph, you must use @platocrat's access token since the subgraph was created on his account.
The first step get the access token and store it on your computer with the following command:
graph auth --product hosted-service <ACCESS_TOKEN>
You only need to do this once.
After that, you should be able to deploy the subgraph by running:
yarn deploy
When editing entities the schema.graphql
file, always make sure to regenerate the static typings for them by running:
yarn codegen
This will automatically generate the static types for you.