Skip to content

This repository contains the smart contracts for the OmniFlix Launchpad platform. These contracts are responsible for launching an NFT collection.

License

Notifications You must be signed in to change notification settings

OmniFlix/launchpad-contracts

Repository files navigation

OmniFlix Launchpad

This repository hosts the smart contracts for the OmniFlix launchpad. These contracts empower creators to launch an NFT collection where the user’s themselves mint NFTs. After setting these up, creators can share the details with their community or users, enabling them to mint an NFT.

Factories

Launchpad utilizes a singleton structure for each collection that is released through this launchpad. The purpose of these factory contracts is to create an instance of minters & whitelist contracts.

Design

Build

To build the contracts, use the following command:

cargo build

Testing

Testing is done using multi-test package. To run the tests, use the following command:

cargo test

Optimizations

To optimize the contract and generate the wasm files, run the following command:

docker run --rm -v "$(pwd)":/code \
  --mount type=volume,source="$(basename "$(pwd)")_cache",target=/target \
  --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
  cosmwasm/workspace-optimizer:0.14.0

About

This repository contains the smart contracts for the OmniFlix Launchpad platform. These contracts are responsible for launching an NFT collection.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages