NFT Marketplace
Introduction
This guide shows you how to create an Embeddable for your NFT Marketplace App.
Prerequisites
Before using an embeddable, you will need to have an App built to integrate into the embeddable. In this example, we will be using the NFT Marketplace App similar to the one built in the NFT Marketplace App. So before continuing with this guide make sure you have done the following:
Created an NFT Marketplace App with at least one minted NFT and send the NFTs to the Marketplace.
Set up the NFT metadata and have it stored somewhere (IPFS, Pinata,nft.storage)
You can use the following token URIs for the NFTs if you are not looking to set up your own:
https://gateway.pinata.cloud/ipfs/QmPh7AG4d78jgB6wBbtdPT3Wb4DHnuYgRV3jgX9hEDtAVe
https://gateway.pinata.cloud/ipfs/QmYGETBBvmjQkqYQ9Qt2VtN1mx3GCD5VnNyta2xyUE7YV9
https://gateway.pinata.cloud/ipfs/QmVgVszHkfWGHB9JYU7obhRRH6CXr3AxLDuSCbPCy2AoRL
Using an embeddable on an App that does not have any minted NFTs will show up as empty.
Using an embeddable on NFTs without metadata set up will not have any images or information to display on the website.
You can create an *empty* embeddable, then add content later with the Edit feature in the Embedding. If you do this, though, your Embeddable will appear empty until you insert content.
Let's Get Started
Access Embeddables Page
Connect your wallet to the web-app. Go to the dashboard, and select "Embeddables" (the <> button) from the sidebar on the left of the page:

Similar to our Apps in the assets page, each embeddable you create is linked to your connected address and chain. This means changing the connected wallet or chain will change the available embeddables to view.
Setting up the Embeddable
To start a new embeddable, click on the " + New Embeddable" button:

This will open up a panel that has the configurations for your embeddable. Here you specify the following:
The Coin Denom: The token micro-denomination to be used to buy from your application. Since I am using the Andromeda chain in this example, then I will use "uandr".
App Name: The name of embeddable application. Will be presented as header in your embeddable page.
Twitter URL: An optional url for the twitter account of the project that will be presented in the embeddable.
Banner Image URL: An optional URL pointing at a banner image which will be displayed on your embeddable. Must start with "https://".

Adding the Type of Embeddable
Now we need to add the type of collection we are looking to embed. Since our App in this example uses the Marketplace ADO, then we need to select the marketplace embeddable. Press on "+ Add Collection", choose "Marketplace Embeddable" and click “Add Collection” again.

Configuring the Marketplace Embeddable
Adding the marketplace embeddable opens a new panel to configure. Here we need to specify the following:
Marketplace Address: The address of the marketplace component in the App whose NFT sales you want to have in your embeddable interface.
Go back to your Assets tab, open the App that contains your Marketplace component, then copy the address and paste it in the embeddable panel:

CW721 Address: The address of the CW721 component in the App. Also copy the address of your "cw721" ADO and paste it in the embeddable panel.
Collection Name: The consumer-facing name for this Embeddable. Name it whatever you wish!
Twitter URL: An optional url for the twitter account of the project that will be presented in the embeddable.
Featured Token Id: An optional token Id of the NFT token which you wish to display as the main face of your NFT collection.

Preview and Publish
Now that he embeddable panels are set up, we can publish our embeddable. Before publishing though, we can preview the interface to make sure it looks the way we want it:
Click Publish, which will invoke a preview/download popup

Preview: Click "Open Preview" to view your Embeddable’s preview page.
Name and Deploy: If everything looks good, go back and name your new Embeddable, then hit “Publish”.
You cannot have a space in the name.

Your embeddable is now live, after you approve the transaction.
Checking the Embeddable in your Web-App.
Go to the Embeddables page, click the ‘three dots menu’ (…) on the upper right corner of your new Embeddable, then click VIEW to see your new Embeddable.


Viewing and Sharing your Embeddables
Click the "Deployment" link on your Embeddable to view the Embeddable’s deployed page. This link can be shared with your users to be used to interact with your Application. In our case, they would be able to buy the NFTs.
Editing Embeddables
Clicking the Update button on your Embeddable's dropdown menu allows you to update the Embeddable’s details:

Last updated