Coder Social home page Coder Social logo

nemanjab17 / timelock-crate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from streamflow-finance/timelock-crate

0.0 1.0 0.0 472 KB

Timelock crate for Solana programs

Home Page: https://streamflow.finance

License: Other

Rust 96.38% Python 3.62%

timelock-crate's Introduction

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 under Business Source License. The Business Source License is not a Free and Open-source license. However, the Licensed Work will eventually be made available under an Open Source License, as stated in this License.

For the community (free and open-source) version, please see this release.

timelock-crate's People

Contributors

parazyd avatar imprfekt avatar ibrica avatar schananas avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.