diff --git a/typescript/packages/x402/src/types/shared/evm/config.ts b/typescript/packages/x402/src/types/shared/evm/config.ts index 637538805..71c8d8a50 100644 --- a/typescript/packages/x402/src/types/shared/evm/config.ts +++ b/typescript/packages/x402/src/types/shared/evm/config.ts @@ -52,6 +52,14 @@ export const config: Record = { usdcAddress: "0xbbA60da06c2c5424f03f7434542280FCAd453d10", usdcName: "USDC", }, + "1135": { + usdcAddress: "0xF242275d3a6527d877f2c927a82D9b057609cc71", + usdcName: "Bridged USDC", + }, + "4202": { + usdcAddress: "0x0E82fDDAd51cc3ac12b69761C45bBCB9A2Bf3C83", + usdcName: "Bridged USDC", + }, "2741": { usdcAddress: "0x84a71ccd554cc1b02749b35d22f684cc8ec987e1", usdcName: "Bridged USDC", diff --git a/typescript/packages/x402/src/types/shared/evm/wallet.ts b/typescript/packages/x402/src/types/shared/evm/wallet.ts index 1b6f9a39f..514c399ab 100644 --- a/typescript/packages/x402/src/types/shared/evm/wallet.ts +++ b/typescript/packages/x402/src/types/shared/evm/wallet.ts @@ -22,6 +22,8 @@ import { avalanche, iotexTestnet, iotex, + lisk, + liskSepolia, abstract, abstractTestnet, story, @@ -230,6 +232,10 @@ export function getChainFromNetwork(network: string | undefined): Chain { return iotex; case "iotex-testnet": return iotexTestnet; + case "lisk": + return lisk; + case "lisk-sepolia": + return liskSepolia; case "skale-base-sepolia": return skaleBaseSepolia; default: diff --git a/typescript/packages/x402/src/types/shared/network.ts b/typescript/packages/x402/src/types/shared/network.ts index cb6ab1e18..35467359e 100644 --- a/typescript/packages/x402/src/types/shared/network.ts +++ b/typescript/packages/x402/src/types/shared/network.ts @@ -15,6 +15,8 @@ export const NetworkSchema = z.enum([ "polygon", "polygon-amoy", "peaq", + "lisk", + "lisk-sepolia", "story", "skale-base-sepolia", ]); @@ -34,6 +36,8 @@ export const SupportedEVMNetworks: Network[] = [ "polygon", "polygon-amoy", "peaq", + "lisk", + "lisk-sepolia", "story", "skale-base-sepolia", ]; @@ -50,6 +54,8 @@ export const EvmNetworkToChainId = new Map([ ["polygon", 137], ["polygon-amoy", 80002], ["peaq", 3338], + ["lisk", 1135], + ["lisk-sepolia", 4202], ["story", 1514], ["skale-base-sepolia", 324705682], ]);