Skip to content

Commit

Permalink
Merge pull request #12 from public-awesome/tasio/fair-burn-instantiat…
Browse files Browse the repository at this point in the history
…e-script

Fair burn instantiate script
  • Loading branch information
jhernandezb authored Jul 27, 2023
2 parents ab54587 + 8a8f67e commit 772a005
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions scripts/fair-burn/instantiate.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
FAIR_BURN_ELGAFAR_CODE_ID=2566
CODE_ID=74
MSG=$(cat <<EOF
{
"fee_bps": 5000
}
EOF
)

starsd tx wasm instantiate $FAIR_BURN_ELGAFAR_CODE_ID "$MSG" --label "stargaze-fair-burn" --admin "stars1vs6ezyqu2mk6x9k5uwvzjx0thsvdhq90u3vvw0" \
--from testnet-1 --gas-prices 0.1ustars --gas-adjustment 1.7 --gas auto \
-b block -o json | jq .
FROM="hot-wallet"
CHAIN_ID="stargaze-1"
NODE="https://rpc.stargaze-apis.com:443"

starsd tx wasm instantiate $CODE_ID "$MSG" \
--label "stargaze-fair-burn" \
--from "$FROM" \
--chain-id "$CHAIN_ID" \
--node "$NODE" \
--gas-prices 1ustars \
--gas-adjustment 1.7 \
--gas auto \
--no-admin \
-b block \
-o json | jq .

0 comments on commit 772a005

Please sign in to comment.