New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

zkt-sdk

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zkt-sdk - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

.github/workflows/preview-release.yml

15

dist/node/config/utils.js
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) => {

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc