37 releases (7 stable)

3.1.0 Aug 1, 2023
3.0.0 Jul 2, 2023
2.4.0 Jul 9, 2023
2.1.0 Mar 31, 2023
0.21.1 Oct 26, 2022

#1952 in Magic Beans

Download history 62/week @ 2024-02-23 21/week @ 2024-03-01 274/week @ 2024-03-08 51/week @ 2024-03-15 8/week @ 2024-03-29

333 downloads per month

Apache-2.0

5KB
81 lines

Stargaze Launchpad CosmWasm Contracts

Stargaze smart contracts are written in CosmWasm, a multi-chain smart contract platform in Rust.

Architecture

Launchpad consists of minter factories, minters, and SG-721 collection contracts.

Minter Factories

A minter factory is a singleton contract that encapsulates all governance parameters for a type of minter. It's sole responsibility is to instantiate new minters with the latest governance parameters.

Each factory also maintains an inventory of minters it has created, along with a verified, blocked, and explicit status for each. Goverance can vote to verify and block minters.

Minters

Stargaze supports various types of minters. CosmWasm developers are encouraged to contribute new types of minters. Developers can earn a fee from every mint via Fair Burn's developer incentive.

Collection contracts

Stargaze collections are based on cw721 and 100% compatible with the cw721 spec. SG-721 simply adds on-chain collection-level metadata. Developers are encouraged to contribute different types of collection contracts.

Running e2e Tests

End-to-end tests run on a Stargaze blockchain node, providing a higher assurance of safety than CosmWasm multitest.

make optimize
make e2etest

Publish release

Only crate owners can publish a new release.

make release VERSION=[version]

Note: You may have to close your editor to prevent rust-analyzer from interfering with the script.

Latest contracts: https://github.com/public-awesome/launchpad/releases/latest

Latest types: https://www.npmjs.com/package/@stargazezone/launchpad

DISCLAIMER

STARGAZE CONTRACTS IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND. No developer or entity involved in creating or instantiating Stargaze smart contracts will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of Stargaze, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value. Although Public Awesome, LLC and it's affilliates developed the initial code for Stargaze, it does not own or control the Stargaze network, which is run by a decentralized validator set.

Dependencies

~3.5–5MB
~111K SLoC