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

#4 in #quarry

Download history 14/week @ 2024-11-13 22/week @ 2024-11-20 38/week @ 2024-11-27 50/week @ 2024-12-04 118/week @ 2024-12-11 13/week @ 2024-12-18 238/week @ 2024-12-25 5/week @ 2025-01-01 7/week @ 2025-01-08 27/week @ 2025-01-15 20/week @ 2025-01-22 10/week @ 2025-01-29 6/week @ 2025-02-05 217/week @ 2025-02-12 7/week @ 2025-02-19 27/week @ 2025-02-26

258 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–20MB
~297K SLoC