nftree icon indicating copy to clipboard operation
nftree copied to clipboard

NFT Locking

Open LunarPunks opened this issue 2 years ago • 2 comments

Is is possible you can put some instructions of how to install and test this on Clarinet in Visual Studio Code?

Also i would like to know is there a simple way to Lock the Parent NFT In NFT Pool and have Child NFTS have shared ownership of the Parent.

Basically i want to fractionalise the Parent NFT without actually fractionising it but giving shared ownership to fixed number of Child NFTs, which can be openly traded on NFT platforms.

LunarPunks avatar Jan 13 '22 13:01 LunarPunks

Is is possible you can put some instructions of how to install and test this on Clarinet in Visual Studio Code?

Neither Clarinet nor Visual Studio work on my development box, so I have no way of adding, testing, or maintaining this.

Also i would like to know is there a simple way to Lock the Parent NFT In NFT Pool and have Child NFTS have shared ownership of the Parent.

You would need to write some code to do this, but it could be done. For example, you could modify the (transfer) function so it could only be called from a proxy contract that required each child NFT owner to authorize the call. Then, the child NFT owners share ownership of the parent. In addition, you could modify the (claim-stacking-rewards) function so that it also required the same proxy contract to call it, and you could have the proxy contract distribute the STX to the child NFT owners.

jcnelson avatar Jan 13 '22 16:01 jcnelson

Hi Jude, Thanks for getting back to me.

Can you please give me an idea of your setup, can i replicate your setup on a PC, I want to play and test and currently i only know (a little) on clarinet.

LunarPunks avatar Jan 17 '22 11:01 LunarPunks