Skip to content

Subgraph for Rubicon Finance's RubiconMarket contract on The Graph's Legacy Explorer

Notifications You must be signed in to change notification settings

platocrat/rubicon-subgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rubicon Subgraph (Optimistic Mainnet)

(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.

Using the access token to deploy the subgraph

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

Editing schema.graphql

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.

About

Subgraph for Rubicon Finance's RubiconMarket contract on The Graph's Legacy Explorer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published