Created
June 26, 2023 17:19
-
-
Save mikedotexe/1710f1090a417aab7121092d153e2e30 to your computer and use it in GitHub Desktop.
Simple CronCat task via shell script
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
#!/bin/sh | |
SIMPLE_PAYROLL='{ | |
"create_task": { | |
"task": { | |
"actions": [ | |
{ | |
"msg": { | |
"bank": { | |
"send": { | |
"to_address": "osmo1yhqft6d2msmzpugdjtawsgdlwvgq3samajy9jq", | |
"amount": [ | |
{ | |
"amount": "666", | |
"denom": "uosmo" | |
} | |
] | |
} | |
} | |
}, | |
"gas_limit": 300000 | |
} | |
], | |
"boundary": null, | |
"cw20": null, | |
"interval": { | |
"block": 1 | |
}, | |
"stop_on_fail": false, | |
"queries": null, | |
"transforms": null | |
} | |
} | |
}' | |
echo "$SIMPLE_PAYROLL" | |
osmosisd tx wasm execute osmo16f2t3yyax8ahau7g37v4r6vl65py3mh6wg63kzvz39mknc7txgmsyy2aws "$SIMPLE_PAYROLL" --amount 1000000uosmo --gas auto --gas-prices 0.1uosmo --gas-adjustment 1.7 --from mike -y | jq | head -n 42 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment