Hello Guys, please anyone know how I could make an NFT to be used as a collateral on a contract, but it actually does not leave the owners wallet. The owner cannot transfer it elsewhere. It remains in the wallet
Aug 21, 2023, 3:27 PM
You need to have locking mechanism in NFT contract
Aug 21, 2023, 3:43 PM
I made a basic nft collateral and staking prototype a few months back, quit on it because I didn't wanna continue, but a simple way you can add value to nft using a combination of metadata and lockers then use/modify that nft for your usecase
that doesn't need the NFT to leave the wallet as user can allocate the value associated with the nft as collateral/rent/subscription/gas forwarding and keep the ownership of the nft...
Aug 21, 2023, 4:25 PM
Can I see how you implemented it??
Aug 21, 2023, 4:46 PM
it's me bob from a diff acc, I think I sent in the past
Aug 21, 2023, 5:07 PM
Sounds good. Though if I do this, then the platform wouldn't be able to accept other NFTs except they had this same mechanism coded into them too. I am thinking of a possibility of temporarily transferring ownership of the NFT.
But the issue is, once ownership is transferred, if such NFT is earning rewards somewhere, it might create a bug for platforms that check the reward basis from owner of NFT. Bug I mean, might make the rewards either come to me or just confused as to where it should go.
But the issue is, once ownership is transferred, if such NFT is earning rewards somewhere, it might create a bug for platforms that check the reward basis from owner of NFT. Bug I mean, might make the rewards either come to me or just confused as to where it should go.
Aug 21, 2023, 6:49 PM
the deductions and all should be setup in controller so that the locker + the metadata are in sync with each other and one cannot be changed without changing others
Aug 21, 2023, 11:55 PM
Inside the NFt contract ?
Aug 22, 2023, 6:08 AM
check dm
Aug 22, 2023, 6:15 AM