avareum-timelock

Crates.ioavareum-timelock
lib.rsavareum-timelock
version0.3.1
sourcesrc
created_at2021-10-28 06:44:45.373032
updated_at2021-10-28 07:36:42.686593
descriptionTimelock crate for Solana programs
homepagehttps://avareum-dev.web.app/
repositoryhttps://github.com/avareum/timelock-crate
max_upload_size
id473455
size74,072
Kiettiphong Manovisut (imalic3)

documentation

README

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:

  • 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/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.

Commit count: 0

cargo fmt