Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New chains for old SDK for OB #241

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orionprotocol/sdk",
"version": "0.19.92-rc105",
"version": "0.19.92-rc123",
"description": "Orion Protocol SDK",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
Expand Down
166 changes: 151 additions & 15 deletions src/config/chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"label": "BNB Chain",
"shortName": "BSC",
"code": "bsc",
"rpc": "https://bsc-dataseed.binance.org/",
"rpc": "https://bsc-dataseed.bnbchain.org/",
"baseCurrencyName": "BNB",
"contracts": {
"WETH": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
Expand All @@ -35,7 +35,19 @@
"baseCurrencyName": "BNB",
"contracts": {
"WETH": "0x23eE96bEaAB62abE126AA192e677c52bB7d274F0",
"curveRegistry": "0x8845b36C3DE93379F468590FFa102D4aF8C49A6c"
"curveRegistry": "0x93461072c00b2740c474a3d52c70be6249c802d8"
}
},
"204": {
"chainId": "204",
"explorer": "http://opbnbscan.com/",
"label": "opBNB Chain",
"shortName": "opBNB",
"code": "opbnb",
"rpc": "https://opbnb-mainnet-rpc.bnbchain.org",
"baseCurrencyName": "BNB",
"contracts": {
"WETH": "0x4200000000000000000000000000000000000006"
}
},
"3": {
Expand Down Expand Up @@ -64,19 +76,71 @@
"curveRegistry": ""
}
},
"421613": {
"chainId": "421613",
"explorer": "https://goerli.arbiscan.io/",
"label": "Arbitrum Goerli",
"shortName": "Arbitrum Goerli",
"code": "arb",
"rpc": "https://goerli-rollup.arbitrum.io/rpc",
"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": ""
}
},
"123420000034": {
"chainId": "123420000034",
"explorer": "https://blockscout-123420000034.raas-testnet.gelato.digital/",
"label": "Event Horizon Testnet",
"shortName": "EH-Testnet",
"code": "eth",
"rpc": "https://rpc-123420000034.raas-testnet.gelato.digital/",
"baseCurrencyName": "ETH",
"contracts": {
"WETH": "0x4200000000000000000000000000000000000006",
"curveRegistry": ""
}
},
"1952959480": {
"chainId": "1952959480",
"explorer": "https://testnet-explorer.lumia.org/",
"label": "Lumia Testnet",
"shortName": "Lumia Testnet",
"code": "lumia",
"rpc": "https://testnet-rpc.lumia.org",
"baseCurrencyName": "LUMIA",
"contracts": {
"WETH": "0x1a1aF9C78704D3a0Ab9e031C92E7bd808711A582",
"curveRegistry": ""
}
},
"994873017": {
"chainId": "994873017",
"explorer": "https://explorer.lumia.org/",
"label": "Lumia",
"shortName": "Lumia",
"code": "lumia",
"rpc": "https://mainnet-rpc.lumia.org/",
"baseCurrencyName": "LUMIA",
"contracts": {
"WETH": "0xE891B5EE2F52E312038710b761EC165792AD25B1",
"curveRegistry": ""
}
},
"42161": {
"chainId": "42161",
"explorer": "https://arbiscan.io/",
"label": "Arbitrum",
"shortName": "Arbitrum",
"code": "arb",
"rpc": "https://arb1.arbitrum.io/rpc",
"baseCurrencyName": "ARB",
"contracts": {
"WETH": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
"curveRegistiry": "0x445FE580eF8d70FF569aB36e80c647af338db351"
}
},
"4002": {
"chainId": "4002",
"explorer": "https://testnet.ftmscan.com/",
Expand All @@ -99,8 +163,8 @@
"rpc": "https://rpcapi.fantom.network/",
"baseCurrencyName": "FTM",
"contracts": {
"WETH": "",
"curveRegistry": ""
"WETH": "0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83",
"curveRegistry": "0x0f854EA9F38ceA4B1c2FC79047E9D0134419D5d6"
}
},
"137": {
Expand All @@ -112,8 +176,8 @@
"rpc": "https://polygon-rpc.com/",
"explorer": "https://polygonscan.com/",
"contracts": {
"WETH": "",
"curveRegistry": ""
"WETH": "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
"curveRegistry": "0x094d12e5b541784701FD8d65F11fc0598FBC6332"
}
},
"80001": {
Expand All @@ -138,7 +202,7 @@
"rpc": "https://exchainrpc.okex.org/",
"baseCurrencyName": "OKT",
"contracts": {
"WETH": "",
"WETH": "0x843340759bFCa4a3776F401cD2E03fE9bc0d838f",
"curveRegistry": ""
}
},
Expand All @@ -161,11 +225,83 @@
"shortName": "DRIP Chain",
"code": "drip",
"baseCurrencyName": "DRIP",
"rpc": "testnet.1d.rip",
"rpc": "https://testnet.1d.rip/",
"explorer": "https://explorer-testnet.1d.rip/",
"contracts": {
"WETH": "",
"curveRegistry": ""
}
},
"2525": {
"chainId": "2525",
"label": "inEVM",
"shortName": "inEVM",
"code": "inevm",
"baseCurrencyName": "INJ",
"rpc": "https://inevm.calderachain.xyz/http/",
"explorer": "https://explorer.injective.network/",
"contracts": {
"WETH": "0x4C3A213bd5e8c4BD70a8396d6F3C8302571598Cd",
"curveRegistry": ""
}
},
"59144": {
"chainId": "59144",
"label": "Linea",
"shortName": "Linea",
"code": "linea",
"baseCurrencyName": "ETH",
"rpc": "https://rpc.linea.build/",
"explorer": "https://lineascan.build/",
"contracts": {
"WETH": "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f",
"curveRegistry": ""
}
},
"43114": {
"chainId": "43114",
"label": "Avalanche Network",
"shortName": "Avax",
"code": "avax",
"baseCurrencyName": "AVAX",
"rpc": "https://api.avax.network/ext/bc/C/rpc/",
"explorer": "https://snowtrace.io/",
"contracts": {
"WETH": "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
"curveRegistry": ""
}
},
"8453": {
"chainId": "8453",
"label": "Base",
"shortName": "BASE",
"code": "base",
"baseCurrencyName": "ETH",
"rpc": "https://mainnet.base.org/",
"explorer": "https://basescan.org/",
"contracts": {
"WETH": "0x4200000000000000000000000000000000000006",
"curveRegistry": ""
}
},
"4398026970692": {
"chainId": "4398026970692",
"explorer": "https://testnet.tonscan.org/",
"label": "TON Testnet",
"shortName": "TON Testnet",
"code": "tonTestnet",
"rpc": "https://testnet-v4.tonhubapi.com",
"baseCurrencyName": "TON",
"contracts": {}
},
"4398026970693": {
"chainId": "4398026970693",
"explorer": "https://tonscan.org/",
"label": "TON Mainnet",
"shortName": "TON Mainnet",
"code": "ton",
"rpc": "https://mainnet-v4.tonhubapi.com",
"baseCurrencyName": "TON",
"contracts": {}
}
}
Loading
Loading