Skip to content

Embeds: badge and cards for your site ​

Put your token page on your own site, your README or your itch.io page. Three embeds are available, and every click on one opens your token page:

EmbedWhat it showsWhere it works
BadgeCrowned on Chain Daddy · $YOURTOKENAnywhere an image works, READMEs included (no iframe needed)
Token cardYour logo, name, ticker, chain and price, with Open on Chain DaddyAny page that allows iframes
Item cardOne item from your store, its picture, name and price, with Get it on the $YOURTOKEN pageAny page that allows iframes

They load no scripts and set no cookies, and nothing is paid inside them: the item card opens the item's purchase sheet on your token page, where the buyer confirms in their own wallet.

Get the snippets ​

In your Token Manager, open the chain switcher in the top bar and click the gear icon to reach that chain's admin settings (see Chain Admin Settings). Share & embed has the badge (as HTML, and as Markdown for a README) and the token card, each with a live preview and a copy button.

The section shows only when your page can be embedded. Embeds are for verified token pages: a page listed in the token directory whose registration checks have passed. On any other page they don't render, so a badge can never claim more than your page does.

The snippets ​

Each snippet carries one link, to your token page, with the text $YOURTOKEN on Chain Daddy. Keep it: it is what sends people (and search engines) from your site to your page.

Badge (HTML):

html
<a href="https://chaindaddy.io/yourtoken/base"><img src="https://chaindaddy.io/_embed/v1/badge/yourtoken/base.svg" alt="$YOURTOKEN on Chain Daddy" height="20" loading="lazy"></a>

Badge (Markdown, for a GitHub README):

md
[![$YOURTOKEN on Chain Daddy](https://chaindaddy.io/_embed/v1/badge/yourtoken/base.svg)](https://chaindaddy.io/yourtoken/base)

Token card (360 × 124):

html
<iframe src="https://chaindaddy.io/_embed/v1/card/yourtoken/base" width="360" height="124" style="border:0" loading="lazy" title="$YOURTOKEN on Chain Daddy"></iframe>
<p><a href="https://chaindaddy.io/yourtoken/base">$YOURTOKEN on Chain Daddy</a></p>

Item card (300 × 340), for one of your store's items by its key (sku). Copy it from the developer portal: Items in your store, Copy embed on the item's row.

html
<iframe src="https://chaindaddy.io/_embed/v1/item/yourtoken/base/boost.pack" width="300" height="340" style="border:0" loading="lazy" title="Boost Pack on the $YOURTOKEN page"></iframe>
<p><a href="https://chaindaddy.io/yourtoken/base">$YOURTOKEN on Chain Daddy</a></p>

An item card shows items that are for sale: an item with a price, active, in your live store. A sold-out item, or one outside its sale window, still shows and says so. Its button opens the item on your page as a payment link with ref=embed, so orders from your embeds are marked in Orders.

Replace yourtoken with your ticker in lowercase and base with your chain (eth, bnb, solana, …): the path is the same as your token page's.

Options ​

Add these to a card's src:

OptionValuesDefault
themelight, darkFollows the visitor's light or dark setting
ref1 to 32 of a-z, 0-9, ., _, - (item card only)embed

For example, …/_embed/v1/item/yourtoken/base/boost.pack?theme=dark&ref=homepage.

Which sites can show your cards ​

By default any https site can show your cards. If you have limited your widgets to your own sites (the allowedDomains list on your widget branding, PUT /api/v2/payments/branding/{crownId}), the cards follow that list: a listed domain covers its subdomains, and browsers refuse the cards on any other site. The badge is an image, so it shows wherever it is pasted.

Freshness ​

Cards and badges are cached for a minute, so a new price, name or logo shows within a few minutes.