mirror of
				https://github.com/0glabs/0g-chain.git
				synced 2025-10-31 23:17:27 +00:00 
			
		
		
		
	remove multichain usdc and replace with axelar usdc (#1498)
* remove multichain usdc and replace with axelar usdc * step 1 of 2 to update axelar usdc contract * add funds
This commit is contained in:
		
							parent
							
								
									1cd1b3b84e
								
							
						
					
					
						commit
						1bbdec80f5
					
				
							
								
								
									
										8
									
								
								.github/scripts/seed-internal-testnet.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/scripts/seed-internal-testnet.sh
									
									
									
									
										vendored
									
									
								
							| @ -15,7 +15,7 @@ kava config broadcast-mode block | |||||||
| echo "${DEV_WALLET_MNEMONIC}" | kava keys add --recover dev-wallet | echo "${DEV_WALLET_MNEMONIC}" | kava keys add --recover dev-wallet | ||||||
| DEV_TEST_WALLET_ADDRESS="0x7E08fa61f22f1A40B4617b887eD24b85CDaf33c2" | DEV_TEST_WALLET_ADDRESS="0x7E08fa61f22f1A40B4617b887eD24b85CDaf33c2" | ||||||
| 
 | 
 | ||||||
| # setup kava etherum comptabile account for deploying | # setup kava ethereum compatible account for deploying | ||||||
| # erc20 contracts to the kava chain | # erc20 contracts to the kava chain | ||||||
| echo "sweet ocean blush coil mobile ten floor sample nuclear power legend where place swamp young marble grit observe enforce lake blossom lesson upon plug" | kava keys add --recover --eth dev-erc20-deployer-wallet | echo "sweet ocean blush coil mobile ten floor sample nuclear power legend where place swamp young marble grit observe enforce lake blossom lesson upon plug" | kava keys add --recover --eth dev-erc20-deployer-wallet | ||||||
| 
 | 
 | ||||||
| @ -57,10 +57,16 @@ wETH_CONTRACT_DEPLOY=$(npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" de | |||||||
| wETH_CONTRACT_ADDRESS=${wETH_CONTRACT_DEPLOY: -42} | wETH_CONTRACT_ADDRESS=${wETH_CONTRACT_DEPLOY: -42} | ||||||
| npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wETH_CONTRACT_ADDRESS" 0x6767114FFAA17C6439D7AEA480738B982CE63A02 1000000000000000000000 | npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wETH_CONTRACT_ADDRESS" 0x6767114FFAA17C6439D7AEA480738B982CE63A02 1000000000000000000000 | ||||||
| 
 | 
 | ||||||
|  | # deploy and fund axlUSDC ERC20 contract | ||||||
|  | AXLUSD_CONTRACT_DEPLOY=$(npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" deploy-erc20 "USD Coin" USDC 6) | ||||||
|  | AXLUSD_CONTRACT_ADDRESS=${USD_CONTRACT_DEPLOY: -42} | ||||||
|  | npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$AXLUSD_CONTRACT_ADDRESS" 0x6767114FFAA17C6439D7AEA480738B982CE63A02 1000000000000 | ||||||
|  | 
 | ||||||
| # seed some evm wallets | # seed some evm wallets | ||||||
| npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wBTC_CONTRACT_ADDRESS" "$DEV_TEST_WALLET_ADDRESS" 10000000000000 | npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wBTC_CONTRACT_ADDRESS" "$DEV_TEST_WALLET_ADDRESS" 10000000000000 | ||||||
| npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$USD_CONTRACT_ADDRESS" "$DEV_TEST_WALLET_ADDRESS" 100000000000 | npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$USD_CONTRACT_ADDRESS" "$DEV_TEST_WALLET_ADDRESS" 100000000000 | ||||||
| npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wETH_CONTRACT_ADDRESS" "$DEV_TEST_WALLET_ADDRESS" 1000000000000000000000 | npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wETH_CONTRACT_ADDRESS" "$DEV_TEST_WALLET_ADDRESS" 1000000000000000000000 | ||||||
|  | npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$AXLUSD_CONTRACT_ADDRESS" "$DEV_TEST_WALLET_ADDRESS" 100000000000 | ||||||
| 
 | 
 | ||||||
| # give dev-wallet enough delegation power to pass proposals by itself | # give dev-wallet enough delegation power to pass proposals by itself | ||||||
| # enumerate all genesis validators | # enumerate all genesis validators | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Adam Robert Turman
						Adam Robert Turman