Skip to content

tac0turtle/squifi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SquiFi

pronounced sqwi-fy

squifi image

SquiFi is a crowd-funding protocol built on solana.

Squifi has multiple types of funds a user can create. All funds have a max that when reached depositors will not be able to deposit.

  • Raise

    • A raise is exactly what it sounds like. A way to raise funds for a single cause. There are countless use cases for this type of fund a few are:
      • Health Bills
      • Tuition
    • Raises can also be used to help pool money with your friends for a group trip.
  • Pool

    • A pool can be private or public. There are associated shares to a raise. A pool is seen as a long standing fund where friends / stakeholders can create and vote on proposals which democractically decides where funds can be redirected.
      • A private pool has a list of address that are allowed to deposit. The owner of the fund has to add the address to the list in order for the depositor to deposit. This can be a way to integrate KYC/AML.
      • A public pool allows anyone to deposit.
  • ETF

    • Coming soon..

Deployment

Build

For development cargo build can be used:

cargo build --features program

To build the smart-contract for deployment it must be built for the solana BPF target.

Note: install build-bpf is required. Instructions can be found in the Solana documentation, here

BPF Target:

cargo build-bpf --features program

Command Line

Not fully implemented

cd cli && cargo install --path .

The squifi cli is designed to help users to create funds, check balances, whitelist accounts, deposit and withdraw funds, make and vote on proposals and to initialize paybacks.

Features

  • Create funding pool
  • Add tokens to Funding pool
  • Owner of pool withdraw tokens
  • Create a token to represent pool ownership
  • Ability to create proposals to withdraw money
  • Vote on proposals
  • Add pool contributor paybacks
  • Rage quit by depositors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages