ProjectOpenSea/seaport

Listing with seaport

mertcmutlu opened this issue · 4 comments

Hello,

I just couldnt figure out how to list an item with seaport. I dont even know if its possible or not. Is seaport just a matching engine for already existing orders or can I list a single erc721 with a price tag on by using seaport?

Hi, you can list an item on sale either on-chain or via off-chain order data signing, like Opensea does. In the second case, the buyer will have to pass the signature made by the seller to the contract function call to fulfil the order. I've made a cookbook for developers who are new to the Seaport which covers listing on sale in different sale mechanics, I hope you find it useful https://github.com/aegas-io/seaport/tree/cookbook/docs/cookbook
There's a PR #884 hanging with the initial cookbook, I hope the dev team checks it out at some point

@aegas-io thanks for your cookbook. I've read it all. Could you pls provide an example that validates an order on chain from a smart contract which emits orderValidated event to be picked up by OpenSea frontend?

ryanio commented

@mertcmutlu Check out the validate() function in seaport-js

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.