You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Arkive keeps an accurate historical record of the sharePrice of a given set of YearnV2 Abi Vaults. sharePrice increases as profits are distributed to the vaults, but may also decrease if loss is incurred. It may be valuable to track this information in case of incidents or in order to optimize the vaults for instance.
3
+
### Dependencies
4
+
* Docker
5
+
* Full Archive RPC (Infura, Ankr, Alchemy, etc)
6
+
7
+
### Arkive Usage
8
+
9
+
First make sure .env is configured correctly with your RPC endpoint. In this example we are connecting the `mainnet` with the Ankr public ETH endpoint.
10
+
> MAINNET_RPC_URL=https://rpc.ankr.com/eth
11
+
12
+
All available tasks can been seen with
13
+
> deno task
14
+
15
+
To start a new instance of the Arkive you can use `deno task` to run the `new` script with the following command
16
+
> deno task new
17
+
18
+
To reset the database and resync the Arkive run `reset` task
19
+
> deno task reset
20
+
21
+
### Using the GraphQL Explorer
22
+
If Arkiver is running there should now be webpage avaiable at http://0.0.0.0:4000/graphql
23
+
24
+
In the left side you can use the no-code explorer to pick and choose which Entities and what fields of the Entities you would like to look at. Here is an example query for this Arkive. This fetches the latest VaultSnapshot entity.
This Arkive keeps an accurate historical record of the balance of an account of a given ERC20 token. It uses the Balance entity as a mutable variable updates as events are handled and is used to keep track of an accounts balance as we sync eventually reflecting true onchain balance. BalanceHistory is an unchanging entity which stores balance over time and is indexed by the `block` field.
3
+
### Dependencies
4
+
* Docker
5
+
* Full Archive RPC (Infura, Ankr, Alchemy, etc)
6
+
7
+
### Arkive Usage
8
+
9
+
First make sure .env is configured correctly with your RPC endpoint. In this example we are connecting the `mainnet` with the Ankr public ETH endpoint.
10
+
> MAINNET_RPC_URL=https://rpc.ankr.com/eth
11
+
12
+
All available tasks can been seen with
13
+
> deno task
14
+
15
+
To start a new instance of the Arkive you can use `deno task` to run the `new` script with the following command
16
+
> deno task new
17
+
18
+
To reset the database and resync the Arkive run `reset` task
19
+
> deno task reset
20
+
21
+
### Using the GraphQL Explorer
22
+
If Arkiver is running there should now be webpage avaiable at http://0.0.0.0:4000/graphql
23
+
24
+
In the left side you can use the no-code explorer to pick and chose which Entities and what fields of the Entities you would like to look at. Here is an example query for this Arkive. This fetches the latest Balance and BalanceHistory entities.
0 commit comments