Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 1f48b5b

Browse files
dr497mvines
authored andcommitted
docs: add token vesting section
1 parent 8a02ab5 commit 1f48b5b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/src/token.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -861,3 +861,13 @@ the maximum allowed transaction size, remove those extra clean up instructions.
861861
They can be cleaned up during the next send operation.
862862

863863
The `spl-token gc` command provides an example implementation of this cleanup process.
864+
865+
866+
### Token Vesting Contract:
867+
This program allows you to lock arbitrary SPL tokens and release the locked tokens with a determined unlock schedule. An `unlock schedule` is made of a `unix timestamp` and a token `amount`, when initializing a vesting contract, the creator can pass an array of `unlock schedule` with an arbitrary size giving the creator of the contract complete control of how the tokens unlock over time.
868+
869+
Unlocking works by pushing a permissionless crank on the contract that moves the tokens to the pre-specified address. The recipient address of a vesting contract can be modified by the owner of the current recipient key, meaning that vesting contract locked tokens can be traded.
870+
871+
- Code: [https://github.com/Bonfida/token-vesting](https://github.com/Bonfida/token-vesting)
872+
- UI: [https://vesting.bonfida.com/#/](https://vesting.bonfida.com/#/)
873+
- Audit: The audit was conducted by Kudelski, the report can be found [here](https://github.com/Bonfida/token-vesting/blob/master/audit/Bonfida_SecurityAssessment_Vesting_Final050521.pdf)

0 commit comments

Comments
 (0)