Non custodial NFT Marketplace

Hello everyone,

I’m a bit confused about how to build a non-custodial NFT marketplace on the Fuel blockchain. I reviewed the documentation, and it seems there is no transferFrom function or approval support in Fuel. Given this, how is it possible to create a non-custodial marketplace?

I also checked the Thunder Marketplace repository on GitHub, but it doesn’t appear to be non-custodial.

Hey @DevilAsap all assets on Fuel are treated as native assets and it is indeed possible to have a non-custodial marketplace

Could you specify more on what are you exactly looking for?

Also you can check out Props-SDK as well, an ecosystem partner for reference

How can I transfer an asset on behalf of another user from within a contract? The transfer function in Sway only allows transferring assets from the contract to a recipient, but not from one user to another without the contract taking ownership of the asset first. How can this be achieved?

1 Like

Hey @DevilAsap could you have a look at the documentation here and let me know if this is helpful?

Hello,

I’ve reviewed the documentation and found methods for wallet-to-wallet or wallet-to-contract transfers using the Typescript SDK. However, I’m looking to transfer assets between two wallets via a smart contract, similar to the “transferFrom” and “approval” mechanisms in EVM blockchains.

For example, in my marketplace contract, I’d like to transfer an NFT directly from the seller to the buyer without taking custody of the NFT. Could you guide me on how to implement this?

Thank you for your help!