0

I'm building a dynamic NFT. I want the NFT I am creating to change depending on other NFTs not in my control in the user's possession.

When properties in NFT A (ay arbitrary NFT) change, say who owns it or its URI, NFT B (the one I'm building), needs to run some logic.

Alternatively, if there's a service that can connect two NFTs, perhaps like chainlink's hybrid contracts, that would work better.

Of course. I could build a service that manually watches the NFTs, but that's a lot more work.

Thanks!

1 Answer 1

0

You should create a Chainlink Keeper Compatible contract that should monitor NFT A for changes (make sure to mark checkUpkeep function as view). And then in the performUpkeep you should call the NFT B contract and execute whatever functionality you are planning to implement.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.