Skip to content

Commit

Permalink
Add Blast Sepolia deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Meeseeks committed Feb 29, 2024
1 parent d58b264 commit 94b9ea8
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@crocswap-libs/sdk",
"version": "0.3.0",
"version": "0.3.1",
"description": "🛠🐊🛠 An SDK for building applications on top of CrocSwap",
"author": "Ben Wolski <[email protected]>",
"repository": "https://github.com/CrocSwap/sdk.git",
Expand Down
28 changes: 28 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ const ETHEREUM_LOGO =
"https://d33wubrfki0l68.cloudfront.net/fcd4ecd90386aeb50a235ddc4f0063cfbb8a7b66/4295e/static/bfc04ac72981166c740b189463e1f74c/40129/eth-diamond-black-white.jpg";
const SCROLL_LOGO =
"https://develop--ambient-finance.netlify.app/scroll_logo.png";
const BLAST_LOGO =
"https://assets-global.website-files.com/65a6baa1a3f8ed336f415cb4/65a6cc95aae1066cf96d497d_Logo%20Black%20on%20Yellow%20Background%402x-p-500.png"

const DFLT_SDK_INFURA_KEY = '360ea5fda45b4a22883de8522ebd639e'

Expand Down Expand Up @@ -135,6 +137,30 @@ const SEPOLIA_CHAIN: ChainSpec = {
logoUrl: ETHEREUM_LOGO,
};

const BLAST_SEPOLIA_CHAIN: ChainSpec = {
nodeUrl: "https://sepolia.blast.io",
addrs: {
dex: "0xf65976C7f25b6320c7CD81b1db10cEe97F2bb7AC",
query: "0x7757BAEC9c492691eAE235c6f01FB99AaA622975",
impact: "0x5D42d6046927DEE12b9b4a235be0ceCd55D0E0fb",
router: "0xdCB3b5ec9170beF68E9fff21F0EDD622F72f1899",
routerBypass: "0x3A6E9cff691a473D4D0742E1dFc8Ea263a99F6d0"
},
poolIndex: 36000,
isTestNet: true,
chainId: "0xa0c71fd",
gridSize: 1,
proxyPaths: {
cold: 3,
long: 130,
liq: 128,
dfltColdSwap: true
},
blockExplorer: "https://testnet.blastscan.io/",
displayName: "Blast Sepolia",
logoUrl: BLAST_LOGO,
};

const SCROLL_SEPOLIA_CHAIN: ChainSpec = {
nodeUrl: "https://sepolia-rpc.scroll.io",
addrs: {
Expand Down Expand Up @@ -196,6 +222,7 @@ export const CHAIN_SPECS: { [chainId: string]: ChainSpec } = {
"0xaa36a7": SEPOLIA_CHAIN,
"0x8274f": SCROLL_SEPOLIA_CHAIN,
"0x82750": SCROLL_CHAIN,
"0xa0c71fd": BLAST_SEPOLIA_CHAIN,
"goerli": GOERLI_CHAIN,
"sepolia": SEPOLIA_CHAIN,
"arbtest": ARB_GOERLI_CHAIN,
Expand All @@ -206,4 +233,5 @@ export const CHAIN_SPECS: { [chainId: string]: ChainSpec } = {
"scrolltest": SCROLL_SEPOLIA_CHAIN,
"scroll": SCROLL_CHAIN,
"scrollsepolia": SCROLL_SEPOLIA_CHAIN,
"blastSepolia": BLAST_SEPOLIA_CHAIN,
};

0 comments on commit 94b9ea8

Please sign in to comment.