How do we create a SIP-009 template contract in which we can pass the name of the NFT?

While going through the provided tutorials, I’ve learned we can create an NFT using clarity language by defining and implementing a trait according to the SIP-009 specifications.

But I also noticed while implementing we need to declare the name of the NFT in the NFT contract like below:

(define-non-fungible-token NFT_NAME uint)

How can I make this NFT_NAME dynamic so I can deploy a new contract using Stacks.js but can also provide a different name of NFT to the contract while deploying the contract?

1 Like