64 releases (30 stable)

3.15.0 Oct 1, 2024
3.14.0 Jun 4, 2024
3.13.0 Apr 26, 2024
3.7.0 Feb 13, 2024
0.21.1 Oct 26, 2022

#2 in #stargaze

Download history 17/week @ 2024-08-26 14/week @ 2024-09-02 23/week @ 2024-09-09 42/week @ 2024-09-16 118/week @ 2024-09-23 190/week @ 2024-09-30 19/week @ 2024-10-07 33/week @ 2024-10-14 19/week @ 2024-10-21 3/week @ 2024-10-28 43/week @ 2024-11-04 24/week @ 2024-11-18 18/week @ 2024-11-25 19/week @ 2024-12-02 43/week @ 2024-12-09

104 downloads per month
Used in 11 crates (7 directly)

Apache-2.0

4KB

SG4 Spec: Stargaze Minter Contracts

A minter must store the factory that created it, so it can query its parameters:

pub struct MinterConfig<T> {
    pub factory: Addr,
    pub collection_code_id: u64,
    pub mint_price: Coin,
    pub extension: T,
}

Custom minters can add more fields using extension.

A minimum, Stargaze minters should specify at least one Mint {} operation that takes 0 to many arguments.

pub enum ExecuteMsg {
    Mint {},
}

Provides minter status for each collection. Status is changed through on-chain governance proposals.

  • Verified: a community based signal that the creators are verified
  • Blocked: a community based signal that the collection should be blocked
  • Explicit: a community based signal that the collection has explicit content (not safe for work, pornographic, etc)
pub struct Minter {
    pub verified: bool,
    pub blocked: bool,
    pub is_explicit: bool,
}

Dependencies

~3.5–5.5MB
~114K SLoC