8 releases (5 breaking)

0.6.0 Apr 23, 2022
0.5.0 Feb 28, 2022
0.4.1 Jan 14, 2022
0.4.0 Dec 20, 2021
0.1.1 Oct 15, 2021

#3 in #fees

46 downloads per month
Used in 6 crates

AGPL-3.0

25KB
521 lines

crate-token

Crates.io

Program which allows users to create a token that is redeemable for its underlying assets.

This can be used for many use cases, including but not limited to:

  • ETFs
  • Composable Stablecoins
  • Rewards distributions

Program Address: CRATwLpu6YZEeiVq9ajjxs61wPQ9f29s1UoQR9siJCRs

Protocol fees

Protocol fees are taken from the issue_fee and the withdraw_fee-- 20% of this fee goes to the Crate DAO, while the other 80% goes to the Crate's "author". These fees are set by the fee_setter and default to zero.

There are no fees if the Crate's consumer does not take any fees. We want Crate to be a common building block for any ETF-like protocol on the Solana blockchain.


lib.rs:

Crate Token.

Dependencies

~11–22MB
~317K SLoC