32 stable releases (5 major)

5.2.0 Jul 27, 2022
5.0.2 Apr 17, 2022
4.2.1 Apr 16, 2022
4.1.0 Mar 29, 2022
0.2.0 Aug 27, 2021

#3 in #quarry

Download history 32/week @ 2023-12-13 35/week @ 2023-12-20 21/week @ 2023-12-27 17/week @ 2024-01-03 28/week @ 2024-01-10 27/week @ 2024-01-17 8/week @ 2024-01-24 11/week @ 2024-01-31 26/week @ 2024-02-07 36/week @ 2024-02-14 51/week @ 2024-02-21 110/week @ 2024-02-28 63/week @ 2024-03-06 43/week @ 2024-03-13 61/week @ 2024-03-20 60/week @ 2024-03-27

235 downloads per month
Used in 18 crates (5 directly)

AGPL-3.0

21KB
422 lines

mint-wrapper

Mints tokens to authorized accounts.

Description

The mint-wrapper program wraps a token mint and authorizes specific accounts to mint tokens up to given allowances.

The mint-wrapper also enforces a hard cap of a token.

Within the Quarry protocol, this should be used to prevent the Rewarder from over-issuing tokens.

This can also be used for several other use cases, including but not limited to:

  • Allocating funds to a DAO
  • Allocating team lockups

If you're building a use case, please get in touch with us!

Roadmap

Future improvements may include:

  • Allowing transfer of the mint_authority to a different address

lib.rs:

Proxy program for interacting with the token mint.

Dependencies

~11–22MB
~288K SLoC