diff --git a/package.json b/package.json index e6bce97..debd4e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orionprotocol/sdk", - "version": "0.20.88-rc3", + "version": "0.20.88-rc4", "description": "Orion Protocol SDK", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/src/config/chains.json b/src/config/chains.json index 3fecfd8..3607a21 100644 --- a/src/config/chains.json +++ b/src/config/chains.json @@ -77,6 +77,19 @@ "curveRegistry": "" } }, + "11155111": { + "chainId": "11155111", + "explorer": "https://sepolia.etherscan.io/", + "label": "Sepolia", + "shortName": "ETH-Sepolia", + "code": "eth", + "rpc": "https://gateway.tenderly.co/public/sepolia", + "baseCurrencyName": "ETH", + "contracts": { + "WETH": "", + "curveRegistry": "" + } + }, "421613": { "chainId": "421613", "explorer": "https://goerli.arbiscan.io/", diff --git a/src/config/envs.json b/src/config/envs.json index c5870d7..adaf1ce 100644 --- a/src/config/envs.json +++ b/src/config/envs.json @@ -227,8 +227,8 @@ }, "liquidityMigratorAddress": "0x01b10dds12478C88A5E18e2707E729906bC25CfF6" }, - "5": { - "api": "https://testing.orion.xyz/eth-goerli", + "11155111": { + "api": "https://testing.orion.xyz/eth-sepolia", "services": { "aggregator": { "http": "/backend", diff --git a/src/constants/chains.ts b/src/constants/chains.ts index 1fb8ff3..df0bd2f 100644 --- a/src/constants/chains.ts +++ b/src/constants/chains.ts @@ -4,6 +4,7 @@ export const developmentChains = [ SupportedChainId.BSC_TESTNET, SupportedChainId.ROPSTEN, SupportedChainId.GOERLI, + SupportedChainId.SEPOLIA, SupportedChainId.ARBITRUM_GOERLI, SupportedChainId.FANTOM_TESTNET, SupportedChainId.POLYGON_TESTNET, diff --git a/src/types.ts b/src/types.ts index a9b6559..946675a 100644 --- a/src/types.ts +++ b/src/types.ts @@ -82,8 +82,6 @@ export type Pair = { export enum SupportedChainId { MAINNET = '1', - ROPSTEN = '3', - GOERLI = '5', ARBITRUM = '42161', FANTOM_OPERA = '250', POLYGON = '137', @@ -94,6 +92,9 @@ export enum SupportedChainId { AVAX = '43114', BASE = '8453', + ROPSTEN = '3', + GOERLI = '5', + SEPOLIA = '11155111', POLYGON_TESTNET = '80001', FANTOM_TESTNET = '4002', BSC = '56',