Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/public-awesome/launchpad
Stargaze NFT and Launchpad smart contracts
https://github.com/public-awesome/launchpad
List: launchpad
cosmos cosmwasm interchain nft smart-contracts
Last synced: 3 months ago
JSON representation
Stargaze NFT and Launchpad smart contracts
- Host: GitHub
- URL: https://github.com/public-awesome/launchpad
- Owner: public-awesome
- License: apache-2.0
- Created: 2022-02-22T05:27:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T15:11:46.000Z (8 months ago)
- Last Synced: 2024-05-23T05:08:54.940Z (8 months ago)
- Topics: cosmos, cosmwasm, interchain, nft, smart-contracts
- Language: Rust
- Homepage:
- Size: 4.97 MB
- Stars: 74
- Watchers: 7
- Forks: 38
- Open Issues: 39
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-cosmwasm - stargaze-contrats
- awesome-ccamel - public-awesome/launchpad - Stargaze NFT and Launchpad smart contracts (Rust)
- awesome-cosmwasm - public-awesome/launchpad - (External Projects / Other Contracts)
README
# Stargaze Launchpad CosmWasm Contracts
Stargaze smart contracts are written in [CosmWasm](https://cosmwasm.com), a multi-chain smart contract platform in Rust.
## Architecture
![](Launchpad-v2.png)
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](./packages/sg1/README.md).
### 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.