Forum Academy Marketplace Showcase Pricing Features

🔘 [Plugin] OpenSea SDK - by EzCode

opensea-js-logo (1) OpenSea SDK - NFT MarketPlace

With OpenSea SDK, you can easily build your own native marketplace for your non-fungible tokens, or NFTs. These can be ERC-721 or ERC-1155 (semi-fungible) items. You don’t have to deploy your own smart contracts or backend orderbooks.

Features

  • Make offer
  • Sell for Fixed Price
  • Set expiration date
    (Date until the buy offer or sell order is available)
  • Buy items
  • Accept Offers
  • Cancel orders
  • Transfer Item

The SDK can be tested on Rinkeby Test Network.

Instructions

Related plugins:


Marketplace: OpenSea SDK Plugin | Bubble
Demo: https://opensea-sdk.bubbleapps.io/version-test/


4 Likes

Thank you for making this plugin! I was just thinking about how I wish this existed and then poof! Here it is! How do I get the web3 & metamask wallet sign an offer from this plugin?

Also, might just be me but the make offer demo isn’t working. Tells me “Cancelled by User”

Hi, glad that you liked the plugin.
Thank you for the bug report, we are taking a look into it now

Just an update. Using this on the mainnet now and totally love it!

One thing, I dont see a buy action available?

Also, are some of the other sdk functions coming down the road?

Oh! I went back through each demo page and realized Buy is part of the Accept Order action!

1 Like

Absolutely, we are working on it. :wink:

Use the Accept Order action
Screenshot 2021-11-12 at 22.10.14

Hi @ezdev , thanks so making this plugin, appreciate all your work as always. Any plan to add the ability to mint like with your Rarible plugin? If yes, any timeline to share? Thanks.

So far, OpenSea SDK does not provide minting functionality. You could still do that combining it with the Rarible SDK.
So, use the Rarible for minting, and OpenSea for everything else.

Yes, I am aware of that. My worry is related to secondary royalties. I read that royalties aren’t cross-plateform. For example, if you use Rarible shared smart contract where you set your royalties %, whenever the NFT is sold on OpenSea, you won’t get any royalties.

I was thinking of using a service like https://niftykit.com/ to create my custom smart contract which would allow me to mint all my NFT under my own custom collection unlike the way it’s done currently as someone in Rarible plugin forum pointed out, use your Rarible plugin to mint my NFT under my custom contract.

But I doubt that the royalties payement will be cross-platform even with my custom contract, especially since Opensea caps royalties at 10% VS Rarible at 30%.

What do you think would happen with a custom contract?

I don’t know how niftykit works, but, usually doing a custom smart contract is the best way, since you can set your own rules and any royalties you want directly in contract.

1 Like

Hi @ezdev , I see you have the ‘Get asset Events’ included in your plugin. When I test this API endpoint here on Opensea, I get an error 403 error. It seems that Cloudflare is restricting access, some guy in a forum suggested that this endpoint isn’t opened to the public yet.

Were you able to get a 200 status calling asset events with your plugin?

Interesting, it was opened at the stage of creating the plugin, I’ll remove it until they will open it again.

1 Like

Hi just to be sure i understand the functionality of Opensea SDK
We need to mint the NFT on Opensea website and then we can sell / transfert etc directly in our webapp, right?

Opensea SDK allows you to sell/bid/transfer but not minting.
For minting you can use the free plugin Rarible SDK

But if i mint on Rarible, how can i then sell in on Opensea? (Im on Polygon btw, not ETH)

In the end it doesn’t matter where do you mint, tokens are visible on all platforms, that’s the cool thing about NFTs, however Rarible doesn’t support Polygon at the moment.
So, in this case, you will need your own smart contract on Polygon and mint tokens using standard tools from the Web3 plugin.

So, just to be sure i have understood everyting, can i follow the below procedure?

• Mint my Polygon NFT directly on Opensea
• Make them available to view / sell / buy on my webapp thanks to Opensea SDK and Web3 Plugin

Am i right or am i missing anything?

Thanks for your help!

If you will mint it directly on Opensea, then yes, you can do everything else with the plugins directly in your app.

You can do tests on Rinkeby network firts :wink:

Ok its clear thanks , I wanted to try on Rinkeby but im struggling to have Faucet ETH so i’m working on Polygon as fees are very cheap

Just one last point, once I have minted my NFT on Opensea, how can i get all the info on my Webapp (ie IPFS, Description, Blockchain, owners (there is several owners as it is a ERC1155 Token) ? I have seen the “NFT Metadata” option on the Metamask Web3 plugin but I not sure i can get all the required data through it

Thanks!

Send me your wallet in PM, I’ll send you some test ETH.

The NFT Metadata is used to show the image, name and description.
To get owners you can use the Web3 plugin as well with action Read Contract, and use the smart contract functions that correspond to token type, for example ownerOf or something. like that.

Alternatively you can use OpenSea API or again, Rarible SDK but the Rarible is not available on Polygon network.