mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
more goerli cleanups (#2024)
This commit is contained in:
parent
dc60970b7d
commit
cdc6ab6eda
@ -20,7 +20,7 @@
|
|||||||
"type-check": "tsc --noEmit",
|
"type-check": "tsc --noEmit",
|
||||||
"deploy:s3": "bash scripts/deploy-s3.sh",
|
"deploy:s3": "bash scripts/deploy-s3.sh",
|
||||||
"postinstall": "husky install",
|
"postinstall": "husky install",
|
||||||
"codegen:apollo": "apollo client:codegen --endpoint=https://v4.subgraph.goerli.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph --target typescript --tsFileExtension=d.ts --outputFlat src/@types/subgraph/",
|
"codegen:apollo": "apollo client:codegen --endpoint=https://v4.subgraph.mumbai.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph --target typescript --tsFileExtension=d.ts --outputFlat src/@types/subgraph/",
|
||||||
"storybook": "cross-env NODE_ENV=test start-storybook -p 6006 --quiet",
|
"storybook": "cross-env NODE_ENV=test start-storybook -p 6006 --quiet",
|
||||||
"storybook:build": "cross-env NODE_ENV=test build-storybook"
|
"storybook:build": "cross-env NODE_ENV=test build-storybook"
|
||||||
},
|
},
|
||||||
|
@ -51,8 +51,8 @@ export function getDevelopmentConfig(): Config {
|
|||||||
// fixedRateExchangeAddress: contractAddresses.development?.FixedRateExchange,
|
// fixedRateExchangeAddress: contractAddresses.development?.FixedRateExchange,
|
||||||
// metadataContractAddress: contractAddresses.development?.Metadata,
|
// metadataContractAddress: contractAddresses.development?.Metadata,
|
||||||
// oceanTokenAddress: contractAddresses.development?.Ocean,
|
// oceanTokenAddress: contractAddresses.development?.Ocean,
|
||||||
// There is no subgraph in barge so we hardcode the Goerli one for now
|
// There is no subgraph in barge so we hardcode the Polygon Mumbai one for now
|
||||||
subgraphUri: 'https://v4.subgraph.goerli.oceanprotocol.com'
|
subgraphUri: 'https://v4.subgraph.mumbai.oceanprotocol.com'
|
||||||
} as Config
|
} as Config
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,6 @@ import {
|
|||||||
mainnet,
|
mainnet,
|
||||||
polygon,
|
polygon,
|
||||||
optimism,
|
optimism,
|
||||||
goerli,
|
|
||||||
polygonMumbai,
|
polygonMumbai,
|
||||||
sepolia
|
sepolia
|
||||||
} from 'wagmi/chains'
|
} from 'wagmi/chains'
|
||||||
@ -37,7 +36,7 @@ export const wagmiClient = createClient(
|
|||||||
appName: 'Ocean Market',
|
appName: 'Ocean Market',
|
||||||
infuraId: process.env.NEXT_PUBLIC_INFURA_PROJECT_ID,
|
infuraId: process.env.NEXT_PUBLIC_INFURA_PROJECT_ID,
|
||||||
// TODO: mapping between appConfig.chainIdsSupported and wagmi chainId
|
// TODO: mapping between appConfig.chainIdsSupported and wagmi chainId
|
||||||
chains: [mainnet, polygon, optimism, goerli, polygonMumbai, sepolia],
|
chains: [mainnet, polygon, optimism, polygonMumbai, sepolia],
|
||||||
walletConnectProjectId: process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID
|
walletConnectProjectId: process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user