diff --git a/.github/scripts/seed-internal-testnet.sh b/.github/scripts/seed-internal-testnet.sh index 094dfdf5..ff31e618 100755 --- a/.github/scripts/seed-internal-testnet.sh +++ b/.github/scripts/seed-internal-testnet.sh @@ -14,6 +14,7 @@ kava config broadcast-mode block # setup dev wallet echo "${DEV_WALLET_MNEMONIC}" | kava keys add --recover dev-wallet DEV_TEST_WALLET_ADDRESS="0x7E08fa61f22f1A40B4617b887eD24b85CDaf33c2" +WEBAPP_E2E_WHALE_ADDRESS="0x0252284098b19036F81bd22851f8699042fafac2" # setup kava ethereum compatible account for deploying # erc20 contracts to the kava chain @@ -68,6 +69,12 @@ npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$USD_CONTRACT 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 +# seed webapp E2E whale account +npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wBTC_CONTRACT_ADDRESS" "$WEBAPP_E2E_WHALE_ADDRESS" 100000000000000 +npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$USD_CONTRACT_ADDRESS" "$WEBAPP_E2E_WHALE_ADDRESS" 1000000000000 +npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wETH_CONTRACT_ADDRESS" "$WEBAPP_E2E_WHALE_ADDRESS" 10000000000000000000000 +npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$AXLUSD_CONTRACT_ADDRESS" "$WEBAPP_E2E_WHALE_ADDRESS" 10000000000000 + # give dev-wallet enough delegation power to pass proposals by itself # enumerate all genesis validators GENTX_VALIDATORS=("kavavaloper1xcgtffvv2yeqmgs3yz4gv29kgjrj8usxrnrlwp" "kavavaloper1w66m9hdzwgd6uc8g93zqkcumgwzrpcw958sh3s") diff --git a/ci/env/kava-internal-testnet/genesis.json b/ci/env/kava-internal-testnet/genesis.json index 5787b633..419fb92e 100644 --- a/ci/env/kava-internal-testnet/genesis.json +++ b/ci/env/kava-internal-testnet/genesis.json @@ -204,6 +204,13 @@ "pub_key": null, "account_number": "0", "sequence": "0" + }, + { + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "address": "kava1qffzssyckxgrd7qm6g59r7rfjpp047kzaefatc", + "pub_key": null, + "account_number": "0", + "sequence": "0" } ] }, @@ -422,6 +429,35 @@ "amount": "103000000000" } ] + }, + { + "address": "kava1qffzssyckxgrd7qm6g59r7rfjpp047kzaefatc", + "coins": [ + { + "denom": "btcb", + "amount": "200000000" + }, + { + "denom": "busd", + "amount": "1000000000000000" + }, + { + "denom": "hard", + "amount": "1000000000" + }, + { + "denom": "swp", + "amount": "5000000000" + }, + { + "denom": "ukava", + "amount": "100000000000000" + }, + { + "denom": "usdx", + "amount": "103000000000" + } + ] } ], "supply": [],