2 releases
| 0.3.1 | Oct 28, 2021 |
|---|---|
| 0.3.0 | Oct 28, 2021 |
#5 in #time-lock
40KB
750 lines
The code providing timelock primitives used by streamflow.finance.
avareum-timelock
This crate has been forked from https://github.com/streamflow-finance/timelock and we modified for specific solutions for Avareum.Finance Disclaimer: The software isn't audited. No warranties provided.
This Rust crate provides SPL timelock functionalities that can be used "out of the box" and integrated in other Solana programs.
Functionalities are:
createa vesting contract.withdrawfrom a vesting contract.cancela vesting contract.transfer_recipientof a vesting contract.
High level overview

Check the docs to get familiar with the crate. Or check the Timelock program implementation where this crate is used.
Run python3 misc/gen_js_api.py > OUTPUT_FILE.js to generate JS IDL to be used for easy (de)serialization of the program account data structs.
License
timelock-crate is licensed AGPL-3.
Dependencies
~26MB
~502K SLoC