mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 08:15:19 +00:00
add wBTC to internal testnet evm setup (#1490)
* add wBTC to internal testnet evm setup * Update seed-internal-testnet.sh * Update seed-internal-testnet.sh * Update seed-internal-testnet.sh * Update seed-internal-testnet.sh * Update seed-internal-testnet.sh
This commit is contained in:
parent
ba73f69688
commit
27d2502419
10
.github/scripts/seed-internal-testnet.sh
vendored
10
.github/scripts/seed-internal-testnet.sh
vendored
@ -46,6 +46,16 @@ DAI_CONTRACT_DEPLOY=$(npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" dep
|
|||||||
DAI_CONTRACT_ADDRESS=${DAI_CONTRACT_DEPLOY: -42}
|
DAI_CONTRACT_ADDRESS=${DAI_CONTRACT_DEPLOY: -42}
|
||||||
npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$DAI_CONTRACT_ADDRESS" 0x6767114FFAA17C6439D7AEA480738B982CE63A02 1000000000000
|
npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$DAI_CONTRACT_ADDRESS" 0x6767114FFAA17C6439D7AEA480738B982CE63A02 1000000000000
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# deploy and fund wETH ERC20 contract
|
||||||
|
wETH_CONTRACT_DEPLOY=$(npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" deploy-erc20 "Wrapped wETH" ETH 18)
|
||||||
|
wETH_CONTRACT_ADDRESS=${wBTC_CONTRACT_DEPLOY: -42}
|
||||||
|
npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$wETH_CONTRACT_ADDRESS" 0x6767114FFAA17C6439D7AEA480738B982CE63A02 1000000000000000000000
|
||||||
|
|
||||||
# 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
|
||||||
GENTX_VALIDATORS=("kavavaloper1xcgtffvv2yeqmgs3yz4gv29kgjrj8usxrnrlwp" "kavavaloper1w66m9hdzwgd6uc8g93zqkcumgwzrpcw958sh3s")
|
GENTX_VALIDATORS=("kavavaloper1xcgtffvv2yeqmgs3yz4gv29kgjrj8usxrnrlwp" "kavavaloper1w66m9hdzwgd6uc8g93zqkcumgwzrpcw958sh3s")
|
||||||
|
Loading…
Reference in New Issue
Block a user