Hey, i've been working on a NFT designer app for a while
The designer is working so far (a minimal 3d editor) and i'd now like to integrate it with XRPL XLS-20
Basically my idea is:
- Users design their nft
- they setup an escrow transaction with the right amount of XRP and a secret (a hash i told them to put there) and a NFT will release the escrow
- Once done, i receive a callback from the user, and check if there is indeed an escrow setup
- If everything matches, i mint the XLS-20, send it to the escrow, and the contract requirements are fulfilled, releasing the xrp to me and the NFT to the user
(Ofc all of this should be seamless and the user just signs a tx on their wallet)
I just want to make sure i'm not paying too much upfront for users who might never convert to actually buying anything
Is this a good setup or is there any easier way - or - is this even possible ?