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 17/week @ 2025-03-10 7/week @ 2025-03-17 6/week @ 2025-03-24 2/week @ 2025-03-31 12/week @ 2025-04-14 34/week @ 2025-04-21 25/week @ 2025-04-28 15/week @ 2025-05-05 19/week @ 2025-05-12 4/week @ 2025-06-09 27/week @ 2025-06-16 32/week @ 2025-06-23

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

AGPL-3.0

21KB
422 lines

Proxy program for interacting with the token mint.


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

Dependencies

~10–19MB
~274K SLoC