Compare commits

...

2 Commits

Author SHA1 Message Date
tim
ac5a2c1350 rpc uses CloudFlare Web3 gateway at ethereum.liquidity.party 2026-02-06 18:00:02 -04:00
tim
ed9fefd001 updated initial pool to use $100 2026-01-29 00:06:34 -04:00
3 changed files with 13 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
CHAIN_ID=${1:-31337} CHAIN_ID=${1:-1}
case "$CHAIN_ID" in case "$CHAIN_ID" in
"sepolia") "sepolia")

View File

@@ -145,11 +145,11 @@ const DEFAULT_POOL_PARAMS = {
swapFeesPpm: Object.values(TEST_TOKENS).map(t => t.feePpm), swapFeesPpm: Object.values(TEST_TOKENS).map(t => t.feePpm),
flashFeePpm: 5, // 0.0005% flashFeePpm: 5, // 0.0005%
stable: false, stable: false,
initialLpAmount: ethers.utils.parseUnits('1', 18) // 100 USD in 18 decimals initialLpAmount: ethers.utils.parseUnits('100', 18)
}; };
// Input amount in USD // Input amount in USD
const INPUT_USD_AMOUNT = 1; const INPUT_USD_AMOUNT = 100;
// ============================================================================ // ============================================================================

View File

@@ -28,7 +28,16 @@ const mockchain = defineChain({
testnet: true, testnet: true,
}); });
const allChains = [mainnet, polygon, optimism, arbitrum, base, sepolia, mockchain]; // Create a deep copy of mainnet with custom RPC URL
const ethereum = {
...mainnet,
rpcUrls: {
...mainnet.rpcUrls,
default: {http: ['https://ethereum.liquidity.party']},
},
};
const allChains = [ethereum, sepolia, mockchain];
const chains = allChains.filter(chain => const chains = allChains.filter(chain =>
Object.keys(deployments || {}).includes(chain.id.toString()) Object.keys(deployments || {}).includes(chain.id.toString())
); );