-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Summary
During the development of #90 we realised that we might have to properly declare the trustline relation between the NFTs that are being sold, to the respective buyers or new owners.
As far as we know, trustlines are needed in order to one account to receive balance of an specific stellar asset contract address. This was reflected on this comment links documentation, so we proceeded to create a little script (See #101) that follows those steps and creates the NFT with the indicated trustlines.
- However, what happens if such trustlines are not pre-defined among buyers and the NFTs ?
- Do we need some kind of external tool or contract, that would help to stablish such trustlines just before the moment of buying ? (Thus able to receive such balances)
In order to reply to this questions, some checks can be done:
- From the script we are developing at replace golang with js #101 , check that if we remove one of the buyers trustlines the transfer process fails. Which may indicate the need of another component for stablishing trustlines.
- If the above point results in transfer failure, investigate how to stablish the trustlines before buying. Check if this can be done from the contract itself or if we need a separate process for that, like the script we did in replace golang with js #101 . Or how to re-use it.
Motivations
We want to provide an end to end solution for an NFT marketplace, thus this research issue will help to stablish what are the new horizons after our initial fix, that may provide more components for building a final Dapp marketplace application.
Final conclusion
Waiting for research.