Skip to content

Commit

Permalink
ALL-6929 Add zkSync blockchain
Browse files Browse the repository at this point in the history
  • Loading branch information
Hathoriel committed Jul 24, 2024
1 parent 631a75d commit d5f109e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/shared/core/src/lib/derivation-path.common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export const DERIVATION_PATH: Record<Blockchain, string> = {
OPTIMISM: "m/44'/60'/0'/0",
FTM: "m/44'/60'/0'/0",
TON: "m/44'/60'/0'/0",
ZK_SYNC: "m/44'/60'/0'/0",
}

export const COMMON_TESTNET_DERIVATION_PATH = "m/44'/1'/0'/0"
Expand Down
3 changes: 2 additions & 1 deletion packages/shared/core/src/lib/http.common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ const EndpointsMapping: Record<Blockchain, string> = {
AVAX: 'avalanche',
OPTIMISM: 'optimism',
FTM: 'fantom',
TON: 'ton'
TON: 'ton',
ZK_SYNC: 'zks',
}

const isWebWorker =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const BlockchainCurrencyMapping: Record<
OPTIMISM: Currency.OPTIMISM,
FTM: Currency.FTM,
TON: Currency.TON,
ZK_SYNC: Currency.ZK_SYNC,
}

export const CurrencyToBlockchainMapping: Record<Currency, Blockchain> = buildCurrencyBlockchainMapping()
Expand Down

0 comments on commit d5f109e

Please sign in to comment.