This repository is a fork of the original cw-nfts project. The purpose of this fork is to provide additional functionality to the NFT collections created with this codebase.
The following changes have been made to the codebase:
- Added a
uri
field to thebs721
package. This field allows for the addition of a URI to the NFT collection, providing additional information and context for each NFT. - Added royalty information for each NFT token. This allows creators and owners to define a percentage of the sale price to be paid out to the original creator or another designated recipient.
To optimize the contract, we use the following tools:
docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/workspace-optimizer:0.12.13
All other parts of the code remain unchanged and identical to the original cw721 project. This fork is intended to provide additional functionality for those looking to build their own NFT collections, without modifying the underlying codebase.
If you are working on an NFT project as well and wish to give input, please raise issues and/or PRs. Additional maintainers can be added if they show commitment to the project.
You can also join the BitSong Discord server for more interactive discussion on these themes.