Closed leofisG closed 2 years ago
I don't understand your question, what do you mean by a number that is ready to use
?
In the token vesting UI here: https://vesting.bonfida.org/#/unlock
It asks us to input a contract seed, if I enter the vesting seed of 8opHzTAnfzRpPEx21XtnrVTX28YQuCpAjcn1PczScQ4
, I can't see the vesting contract (an error saying Error loading contract info
). So I am wondering how do I go from 8opHzTAnfzRpPEx21XtnrVTX28YQuCpAjcn1PczScQ4
to the format that is acceptable in the UI?
@dr497 It will be great if we can use the vesting contract to distribute our tokens. Thanks!
@dr497 bump.
bump
You can inspect vesting contract on the UI by using the key.
If you want to retrieve the seed for the contract use the data of the creation instruction and slice it to get the seed (.slice(1,32
) https://github.com/Bonfida/token-vesting/blob/master/program/src/instruction.rs#L139
I am using the CLI to create vesting schedule, the output that I am seeing is:
I wonder how do I go from the vesting seed of
8opHzTAnfzRpPEx21XtnrVTX28YQuCpAjcn1PczScQ4
to a number that is ready to use?