2 stable releases

5.0.3 Jun 12, 2022
5.0.2 May 20, 2022

#12 in #quarry


Used in 3 crates (2 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–23MB
~337K SLoC