From 32c9f49ff8f4c6cade77d505e70d8cbaf1a3c970 Mon Sep 17 00:00:00 2001 From: martines3000 Date: Wed, 12 Jun 2024 20:47:14 +0200 Subject: [PATCH] chore: update readme.md, route most trafic to graph network --- README.md | 17 ++++++----------- packages/dapp/src/lib/ees/getGraphqlApiUrl.ts | 2 +- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index e35ae24..913c151 100644 --- a/README.md +++ b/README.md @@ -8,15 +8,6 @@ The monorepo consists of three main parts: * [Dapp](packages/dapp) * [Subgraphs](packages/subgraphs) -## Getting started - -```bash -pnpm install -pnpm build -pnpm test -pnpm lint -``` - ## Deployed contracts and EAS schemas ### EESCore deployed contracts @@ -26,6 +17,10 @@ pnpm lint * Sepolia: [0x5Cb7f40d8a23d9Baff52cFd5A10994EcEfF9e7ED](https://sepolia.etherscan.io/address/0x5Cb7f40d8a23d9Baff52cFd5A10994EcEfF9e7ED) * Base Sepolia: [0x63F610a03Caa82ca32386BDb6F447a93d4D6F6e7](https://sepolia.basescan.org/address/0x63F610a03Caa82ca32386BDb6F447a93d4D6F6e7) -For deployed EAS contracts see [EAS deployments](https://docs.attest.org/docs/quick--start/contracts) +For deployed EAS contracts see [EAS deployments](https://docs.attest.org/docs/quick--start/contracts). + +Our deployed schemas can be found in [deploy script](packages/contracts/scripts/deployCore.ts#L12). + +## Deployed subgraphs on The Graph Network -Our deployed schemas can be found in [deploy script](packages/contracts/scripts/deployCore.ts#L12) +* [ees-base](https://thegraph.com/explorer/subgraphs/CQW91XGnwfL15HU8pgPFz2F2ssYLFtsxfBf6tvznEJ2b?view=Query&chain=arbitrum-one) diff --git a/packages/dapp/src/lib/ees/getGraphqlApiUrl.ts b/packages/dapp/src/lib/ees/getGraphqlApiUrl.ts index 180121e..e318cf7 100644 --- a/packages/dapp/src/lib/ees/getGraphqlApiUrl.ts +++ b/packages/dapp/src/lib/ees/getGraphqlApiUrl.ts @@ -47,7 +47,7 @@ const getRandomEndpoint = (endpoints: string[]) => { } // We won't have more than 2 endpoints - return endpoints[Math.random() <= 0.5 ? 0 : 1]; + return endpoints[Math.random() <= 0.2 ? 0 : 1]; }; export const getGraphqlApiUrl = (chainId: number) => {