token-vesting icon indicating copy to clipboard operation
token-vesting copied to clipboard

rfc: linear vesting cli

Open dzmitry-lahoda opened this issue 3 years ago • 0 comments

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 image

dzmitry-lahoda avatar Jan 04 '22 21:01 dzmitry-lahoda