-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b68ba40
commit 1ba9440
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# intended to be run from root directory, and *AFTER* the 01-testnet-treasury | ||
# config on machine | ||
injectived config | ||
{ | ||
"chain-id": "injective-888", | ||
"keyring-backend": "os", | ||
"output": "json", | ||
"node": "https://testnet.sentry.tm.injective.network:443/", | ||
"broadcast-mode": "sync" | ||
} | ||
|
||
|
||
export FROM=auction-test | ||
export FROM_ADDR=inj12nn88vtuf893cpfkke23dszpr5uccqj2zqukt6 | ||
export TREASURE=8127 | ||
export AUCTION=8128 | ||
## create the test denom | ||
export FEE_AMT=$(injectived query tokenfactory params|jq -r '.params.denom_creation_fee[0].amount') | ||
#export FEE_AMT=1000000000000000000 | ||
|
||
# envsubst comes from | ||
# brew install getttext | ||
INIT_MSG=$(envsubst < ./deploy/testnet/auction.json) | ||
date_label=$(date +"%Y-%m-%d %H:%M") | ||
|
||
injectived tx wasm instantiate $AUCTION ${INIT_MSG} \ | ||
--label auction_${date_label} \ | ||
--admin $FROM_ADDR \ | ||
--amount ${FEE_AMT}inj \ | ||
--from $FROM --yes --gas-prices "160000000inj" --gas-adjustment 1.3 --gas auto | ||
|
||
^^ following is failing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"owner": "$FROM_ADDR", | ||
"native_denom": "inj", | ||
"min_balance": "$FEE_AMT", | ||
"token_factory_type": "injective", | ||
"rewards_fee": "0.05", | ||
"rewards_fee_addr": "$FROM_ADDR", | ||
"whitelisted_addresses": [ | ||
"$FROM_ADDR" | ||
], | ||
"min_next_bid_increment_rate": "0.0005", | ||
"treasury_chest_code_id": $TREASURE, | ||
"min_return": "0.05" | ||
} |