Skip to content

Commit

Permalink
zkLink proxy (#623)
Browse files Browse the repository at this point in the history
  • Loading branch information
Doctor-Cyclone authored Apr 22, 2024
2 parents c0b5ed0 + 1ff4877 commit caf38d7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rubic-sdk",
"version": "5.17.0",
"version": "5.17.1",
"description": "Simplify dApp creation",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion src/features/common/constants/proxy-supported-blockchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ export const proxySupportedBlockchains = [
BLOCKCHAIN_NAME.ROOTSTOCK,
BLOCKCHAIN_NAME.MODE,
BLOCKCHAIN_NAME.ZK_FAIR,
BLOCKCHAIN_NAME.ZETACHAIN
BLOCKCHAIN_NAME.ZETACHAIN,
BLOCKCHAIN_NAME.ZK_LINK
// BLOCKCHAIN_NAME.OKE_X_CHAIN,
// BLOCKCHAIN_NAME.GNOSIS,
// BLOCKCHAIN_NAME.FUSE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ export const rubicProxyContractAddress: Record<
if (isAlternativeRouter1Network(blockchain)) {
router = '0xAf14797CcF963B1e3d028a9d51853acE16aedBA1';
}
if (blockchain === BLOCKCHAIN_NAME.ZK_LINK) {
router = '0x1a979E2386595837BaAB90Ba12B2E2a71C652576';
gateway = '0x72f4Cd2a1707CbecE96E82be21f243fdF93867ee';
}

return { ...acc, [blockchain]: { gateway, router } };
},
Expand Down

0 comments on commit caf38d7

Please sign in to comment.