mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-25 07:45:18 +00:00
update testnet seeding (#1497)
* update testnet seeding * fix missing syntax * remove extra commas
This commit is contained in:
parent
d6b3e8fc8b
commit
1cd1b3b84e
5
.github/scripts/seed-internal-testnet.sh
vendored
5
.github/scripts/seed-internal-testnet.sh
vendored
@ -50,7 +50,7 @@ npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$DAI_CONTRACT
|
||||
# deploy and fund wBTC ERC20 contract
|
||||
wBTC_CONTRACT_DEPLOY=$(npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" deploy-erc20 "Wrapped BTC" BTC 8)
|
||||
wBTC_CONTRACT_ADDRESS=${wBTC_CONTRACT_DEPLOY: -42}
|
||||
npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wBTC_CONTRACT_ADDRESS" 0x6767114FFAA17C6439D7AEA480738B982CE63A02 1000000000000
|
||||
npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wBTC_CONTRACT_ADDRESS" 0x6767114FFAA17C6439D7AEA480738B982CE63A02 100000000000000
|
||||
|
||||
# deploy and fund wETH ERC20 contract
|
||||
wETH_CONTRACT_DEPLOY=$(npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" deploy-erc20 "Wrapped wETH" ETH 18)
|
||||
@ -58,7 +58,8 @@ wETH_CONTRACT_ADDRESS=${wETH_CONTRACT_DEPLOY: -42}
|
||||
npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wETH_CONTRACT_ADDRESS" 0x6767114FFAA17C6439D7AEA480738B982CE63A02 1000000000000000000000
|
||||
|
||||
# seed some evm wallets
|
||||
npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wBTC_CONTRACT_ADDRESS" "$DEV_TEST_WALLET_ADDRESS" 1000000000000
|
||||
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 "$wETH_CONTRACT_ADDRESS" "$DEV_TEST_WALLET_ADDRESS" 1000000000000000000000
|
||||
|
||||
# give dev-wallet enough delegation power to pass proposals by itself
|
||||
|
36
ci/env/kava-internal-testnet/genesis.json
vendored
36
ci/env/kava-internal-testnet/genesis.json
vendored
@ -190,6 +190,13 @@
|
||||
"sequence": "1"
|
||||
},
|
||||
"code_hash": "0x45d85d503e0143ffd2bb95d7bcb4dadfc1c05ff005fc7c26e63eb47f496fdafc"
|
||||
},
|
||||
{
|
||||
"@type": "/cosmos.auth.v1beta1.BaseAccount",
|
||||
"address": "kava10cy05c0j9udypdrp0wy8a5jtshx67v7zk5sdzp",
|
||||
"pub_key": null,
|
||||
"account_number": "0",
|
||||
"sequence": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -338,6 +345,35 @@
|
||||
"amount": "103000000000"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"address": "kava10cy05c0j9udypdrp0wy8a5jtshx67v7zk5sdzp",
|
||||
"coins": [
|
||||
{
|
||||
"denom": "btcb",
|
||||
"amount": "200000000"
|
||||
},
|
||||
{
|
||||
"denom": "busd",
|
||||
"amount": "1000000000000000"
|
||||
},
|
||||
{
|
||||
"denom": "hard",
|
||||
"amount": "1000000000"
|
||||
},
|
||||
{
|
||||
"denom": "swp",
|
||||
"amount": "5000000000"
|
||||
},
|
||||
{
|
||||
"denom": "ukava",
|
||||
"amount": "10000000000000"
|
||||
},
|
||||
{
|
||||
"denom": "usdx",
|
||||
"amount": "103000000000"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"supply": [],
|
||||
|
Loading…
Reference in New Issue
Block a user