Created
October 22, 2021 20:12
-
-
Save michaelfig/98710444b959332a6bc9c10edbfa4ae6 to your computer and use it in GitHub Desktop.
Create a vesting account with 50BLD in it
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/bash | |
ADDR=$1 | |
ag0 tx vesting create-periodic-vesting-account \ | |
--chain-id=agorictest-18 --node=https://testnet.rpc.agoric.net:443 \ | |
--from=test-whale "$ADDR" --yes -b block /dev/stdin <<EOF | |
{ | |
"start_time": 1667196000, | |
"periods": [ | |
{ | |
"coins": "50000000ubld", | |
"length_seconds": 2592000 | |
} | |
] | |
} | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment