Crate streamflow_timelock

Crate streamflow_timelock 

Source
Expand description

The code providing timelock primitives used by streamflow.finance. This is a free and open-source community version of Streamflow Timelock protocol, that comes with certain limitations compared to the commercial version.

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. Invoked by recipient (beneficiary)
  • cancel a vesting contract. Invoked by sender (creator)
  • transfer_recipient of a vesting contract. Invoked by recipient (beneficiary)

UI is available at https://app.streamflow.finance/vesting

Modules§

state
Structs and data
token
Functions related to SPL tokens
utils
Utility functions