Comparing version 1.2.3 to 1.2.4
import logos from "../assets/logos"; | ||
export const supportedChains = [137]; | ||
export const supportedChains = [ | ||
137, // polygon | ||
17000 // holesky | ||
]; | ||
export const zkETHContractItem = ['zkETH', 'zkETHRelayer']; | ||
@@ -12,2 +15,8 @@ export const tokenName = ['usdt', 'usdc', 'link', 'wsteth']; | ||
}, | ||
17000: { | ||
usdt: '0xe6b7B021d8eE68E0A514e8a1a8aEEd2D6129724c', | ||
usdc: '0xe6b7B021d8eE68E0A514e8a1a8aEEd2D6129724c', | ||
link: '0xe6b7B021d8eE68E0A514e8a1a8aEEd2D6129724c', | ||
wsteth: '0xe6b7B021d8eE68E0A514e8a1a8aEEd2D6129724c' | ||
}, | ||
}; | ||
@@ -38,2 +47,6 @@ const tokenListsWithMetadata = Object.fromEntries(Object.entries(tokenLists).map(([chainId, tokens]) => [ | ||
}, | ||
17000: { | ||
zkETH: "0x5703F89b3ACC9B12AfA5473ad5C15D13E25DcA6e", | ||
zkETHRelayer: "0x6523e0F66230B46C8e40D9AB1Cd8dA61Cd8502dd", | ||
}, | ||
}; | ||
@@ -40,0 +53,0 @@ export const getTokenList = (chainId) => { |
{ | ||
"name": "zkt-sdk", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "zkToken | JS SDK", | ||
@@ -5,0 +5,0 @@ "main": "src/index.ts", |
import logos from "../assets/logos"; | ||
export const supportedChains = [137] as const; | ||
export const supportedChains = | ||
[ | ||
137, // polygon | ||
17000 // holesky | ||
] as const; | ||
export type SupportedChain = typeof supportedChains[number]; | ||
@@ -20,3 +25,3 @@ | ||
const tokenLists: { [key in SupportedChain]?: TokenListType } = { | ||
const tokenLists: { [key in SupportedChain]: TokenListType } = { | ||
137: { | ||
@@ -28,2 +33,8 @@ usdt: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f', | ||
}, | ||
17000: { // testnet - therefore, these are all our mock ERC-20 USDC | ||
usdt: '0xe6b7B021d8eE68E0A514e8a1a8aEEd2D6129724c', | ||
usdc: '0xe6b7B021d8eE68E0A514e8a1a8aEEd2D6129724c', | ||
link: '0xe6b7B021d8eE68E0A514e8a1a8aEEd2D6129724c', | ||
wsteth: '0xe6b7B021d8eE68E0A514e8a1a8aEEd2D6129724c' | ||
}, | ||
}; | ||
@@ -54,3 +65,3 @@ | ||
const contracts: { [key in SupportedChain]?: ContractListType } = { | ||
const contracts: { [key in SupportedChain]: ContractListType } = { | ||
137: { | ||
@@ -60,2 +71,6 @@ zkETH: "0x0e96e410e5B40c4BEF8f8dA0E053BFb8855D5A84", | ||
}, | ||
17000: { | ||
zkETH: "0x5703F89b3ACC9B12AfA5473ad5C15D13E25DcA6e", | ||
zkETHRelayer: "0x6523e0F66230B46C8e40D9AB1Cd8dA61Cd8502dd", | ||
}, | ||
}; | ||
@@ -62,0 +77,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
883564
40
3490
1
80