cw-nfts-simple-base is a base contract for easy extension but not compilable itself.
It is based on function-oriented style different from original cw721-base.
This repository contains:
- packages/cw721-simple-base: base codes to extend custom cw721 based nfts
- contracts/*: example contracts using cw721-simple
I suggest three options to extend the base contract:
- Implement Custom messages whose entry point has generic parameters -> cw721-simple-metadata
- Wrap base messages with user-defined message -> cw721-simple-metadata-without-custom-msg
- Convert local message into original type(i.g Cw721ExecuteMsg, Cw721QueryMsg) -> https://github.com/D3LAB-DAO/cosmonaut-contract/blob/main/contracts/cosmonaut-cw20/src/msg.rs