diff --git a/apps/html/manual_tests.html b/apps/html/manual_tests.html index 11c73fbdba..1f28ec6c21 100644 --- a/apps/html/manual_tests.html +++ b/apps/html/manual_tests.html @@ -674,6 +674,126 @@ }); }; + var ETHOnBase = async () => { + const accessControlConditions = [ + { + contractAddress: '', + standardContractType: '', + chain: 'base', + method: 'eth_getBalance', + parameters: [':userAddress', 'latest'], + returnValueTest: { + comparator: '>=', + value: '0', + }, + }, + ]; + await testProvisoningAndSigning({ + accessControlConditions, + testName: 'ETHOnBase', + }); + }; + + var ETHOnBaseGoerli = async () => { + const accessControlConditions = [ + { + contractAddress: '', + standardContractType: '', + chain: 'baseGoerli', + method: 'eth_getBalance', + parameters: [':userAddress', 'latest'], + returnValueTest: { + comparator: '>=', + value: '0', + }, + }, + ]; + await testProvisoningAndSigning({ + accessControlConditions, + testName: 'ETHOnBaseGoerli', + }); + }; + + var ETHOnLukso = async () => { + const accessControlConditions = [ + { + contractAddress: '', + standardContractType: '', + chain: 'lukso', + method: 'eth_getBalance', + parameters: [':userAddress', 'latest'], + returnValueTest: { + comparator: '>=', + value: '0', + }, + }, + ]; + await testProvisoningAndSigning({ + accessControlConditions, + testName: 'ETHOnLukso', + }); + }; + + var ETHOnLuksoTestnet = async () => { + const accessControlConditions = [ + { + contractAddress: '', + standardContractType: '', + chain: 'luksoTestnet', + method: 'eth_getBalance', + parameters: [':userAddress', 'latest'], + returnValueTest: { + comparator: '>=', + value: '0', + }, + }, + ]; + await testProvisoningAndSigning({ + accessControlConditions, + testName: 'ETHOnLuksoTestnet', + }); + }; + + var ETHOnZora = async () => { + const accessControlConditions = [ + { + contractAddress: '', + standardContractType: '', + chain: 'zora', + method: 'eth_getBalance', + parameters: [':userAddress', 'latest'], + returnValueTest: { + comparator: '>=', + value: '0', + }, + }, + ]; + await testProvisoningAndSigning({ + accessControlConditions, + testName: 'ETHOnZora', + }); + }; + + var ETHOnZoraGoerli = async () => { + const accessControlConditions = [ + { + contractAddress: '', + standardContractType: '', + chain: 'zoraGoerli', + method: 'eth_getBalance', + parameters: [':userAddress', 'latest'], + returnValueTest: { + comparator: '>=', + value: '0', + }, + }, + ]; + await testProvisoningAndSigning({ + accessControlConditions, + testName: 'ETHOnZoraGoerli', + }); + }; + var ETHOnZksyncTestnet = async () => { const accessControlConditions = [ { @@ -1635,6 +1755,24 @@

Manual tests



+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+


diff --git a/packages/constants/src/lib/constants/constants.ts b/packages/constants/src/lib/constants/constants.ts index 11b43176f2..aad66153c7 100644 --- a/packages/constants/src/lib/constants/constants.ts +++ b/packages/constants/src/lib/constants/constants.ts @@ -364,6 +364,61 @@ export const LIT_CHAINS: LITChain = { type: null, vmType: 'EVM', }, + base: { + contractAddress: null, + chainId: 8453, + name: 'Base Mainnet', + symbol: 'ETH', + decimals: 18, + rpcUrls: ['https://mainnet.base.org'], + blockExplorerUrls: ['https://basescan.org'], + type: null, + vmType: 'EVM', + }, + lukso: { + contractAddress: null, + chainId: 42, + name: 'Lukso', + symbol: 'ETH', + decimals: 18, + rpcUrls: ['https://rpc.lukso.gateway.fm'], + blockExplorerUrls: ['https://explorer.execution.mainnet.lukso.network/'], + type: null, + vmType: 'EVM', + }, + luksoTestnet: { + contractAddress: null, + chainId: 4201, + name: 'Lukso Testnet', + symbol: 'ETH', + decimals: 18, + rpcUrls: ['https://rpc.testnet.lukso.network'], + blockExplorerUrls: ['https://explorer.execution.testnet.lukso.network'], + type: null, + vmType: 'EVM', + }, + zora: { + contractAddress: null, + chainId: 7777777, + name: ' Zora', + symbol: 'ETH', + decimals: 18, + rpcUrls: ['https://rpc.zora.energy/'], + blockExplorerUrls: ['https://explorer.zora.energy'], + type: null, + vmType: 'EVM', + }, + zoraGoerli: { + contractAddress: null, + chainId: 999, + name: 'Zora Goerli', + symbol: 'ETH', + decimals: 18, + rpcUrls: ['https://testnet.rpc.zora.energy'], + blockExplorerUrls: ['https://testnet.explorer.zora.energy'], + type: null, + vmType: 'EVM', + }, zksyncTestnet: { contractAddress: null, chainId: 280,