diff --git a/README.md b/README.md index e2bfdb6e..c3043c75 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,12 @@ Pending Changes at same URL 1. Create a new subgraph config in `src/utils/chains.ts`. This will require adding a new `ChainId`. Set the `SELECTED_CHAIN` in `getSubgraphConfig()` to be this new `ChainId`. 2. Add a new entry in `networks.json` for the new chain. The network name should be derived from the CLI Name in The Graph's [supported networks documenation](https://thegraph.com/docs/en/developing/supported-networks/). The factory address can be derived from Uniswap's [deployments documentation](https://docs.uniswap.org/contracts/v3/reference/deployments/ethereum-deployments). +3. To deploy to Alchemy, run the following command: + +``` +yarn run deploy:alchemy -- + + --version-label + --deploy-key + --network +``` diff --git a/src/utils/chains.ts b/src/utils/chains.ts index a2131422..bb9cb2f5 100644 --- a/src/utils/chains.ts +++ b/src/utils/chains.ts @@ -1,7 +1,7 @@ import { Address, BigDecimal, BigInt } from '@graphprotocol/graph-ts' -import { StaticTokenDefinition } from './staticTokenDefinition' import { OPTIMISM_POOL_MAPPINGS } from '../backfill/poolMappings' +import { StaticTokenDefinition } from './staticTokenDefinition' export enum ChainId { ARBITRUM_ONE = 42161,