Interact with NFTs created by Tradeport

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:

3 Likes