Hello and welcome to Sui!
To integrate the package you mentioned into your smart contract, you will need to import it by specifying the package as a dependency in your Move.toml file
Here is how you can approach it:
Set up your package
You’ll need to add the package you’re working with as a dependency in the Move.toml file of your project. The dependency specification can be a git repository URL or a path to your local directory hosting the package’s code.
Verify NFT type
To verify if a specific NFT was created by package X
, you can check against the NFT type which will look like packageX::module::NFT
Resources
For more details on how Move packages work, how to manage dependencies, and more, please have a look at the following resources:
- Move Package Reference
- Move Manifest
- Guide: How to load external package without git repo
- Sui docs - Try using the Sui AI tool (on the site’s top-bar), it can help with quite a few things