Skip to content

ibrica/timelock-crate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

streamflow-timelock

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:

  • create a vesting contract.
  • withdraw from a vesting contract.
  • cancel a vesting contract.
  • transfer_recipient of a vesting contract.

High level overview

Overview

Check the docs to get familiar with the crate. Or check the Timelock program implementation where this crate is used.

Run python3 misc/make_idl.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.

About

Timelock crate for Solana programs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 94.5%
  • Python 5.5%