token-vesting
token-vesting copied to clipboard
rfc: linear vesting cli
echo "RUST_BACKTRACE=1 ./target/debug/vesting-contract-cli \
--url https://api.devnet.solana.com \
--program_id $PROGRAM_ID \
create \
--mint_address $MINT \
--source_owner ~/.config/solana/id_owner.json \
--source_token_address $TOKEN_ACCOUNT_SOURCE \
--destination_token_address $ACCOUNT_TOKEN_DEST \
--release-frequency ISO8601_DURATION
--start-date-time ISO_SORTABLE_DATE_TIME \
--end-date-time ISO_SORTABLE_DATE_TIME \
--payer ~/.config/solana/id_owner.json" \
--overview=true #will show overview, not really will create nothing, for linear vesting default is true, will show message overvoew=false to execute vesting
--verbose | bash
meaning like here
