Filtered by

cardano logo

Sample smart contracts in Plutus

Vesting

Start-ups often put in place a vesting scheme that delays share options to discourage people involved in the company from leaving. The vesting contract is a schedule that defines when and how the shares, which have been promised to the founder or an employee, will be distributed.

Here is an example of how a vesting smart contract can be coded in Plutus:

https://github.com/input-output-hk/plutus/blob/master/plutus-use-cases/src/Language/PlutusTx/Coordination/Contracts/Vesting.hs

Crowdfunding contract

Crowdfunding is the collecting of small amounts of capital from a large number of individuals. The money may go to a myriad of activities, whether it be a business venture, a charity, a research project, or a social cause.

Here is an example of a crowdfunding smart contract:

https://github.com/input-output-hk/plutus/blob/master/plutus-playground/plutus-playground-server/usecases/CrowdFunding.hs

Next navigation arrow