Replies: 1 comment 3 replies
-
A conduit is where approvals are granted so it can be reused when new Seaport versions are deployed. There is some info about the Conduit Controller here: https://docs.opensea.io/reference/seaport-conduit-controller When a Seaport contract is deployed, it is deployed with only one allowed conduit controller. To create a new conduit, call createConduit on that conduit controller. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, thank you for all the work you've done, I had a question regarding the usage and implementation of Conduits and Conduit keys. I was wondering if there were any example first off secondly I had some other questions.
First off I want to make sure I understand the methods and meanings clearly. A Conduit would be another contract that implements the final transfers of Offers? What other role can a conduit have?
It seems like to implement a Conduit via seaport JS - When I Instantiate new Seaport in the second Param which is an object I would provide a conduitKeyToConduit object which there is a conduitkey and conduitValue which would be a contract
so it would look something like this
but you can also provide a defaultConduitKey in the overrides Object so you would use both for example if you didn't want to inject into every createOrder? so it would look more like
I'm going through all tests and every thing is documented well and code seems clear but I'm still having trouble wrapping my head around how to implement a conduit contract within seaport - if you have any examples or other documentation it would be helpful
Beta Was this translation helpful? Give feedback.
All reactions