CaviarNine - The Future of DeFi
  • Welcome to CaviarNine
  • introduction
    • Overview
    • Vision & Mission
    • Team
    • FAQ
    • DISCLAIMER
    • Terms and Conditions
  • audits
    • Order Book
    • Shape Liquidity
    • LSU Pool
  • Tokens
    • Overview
    • FLOOP
    • CAVIAR
    • RADIT
  • Products (FLOOP)
    • Aggregator
      • Aggregator Fees
      • Anthic-Intent
    • Order Book
      • Overview
      • Placing a Limit Order
      • Order Management
      • Order Book Fees
      • Manifests
    • Shape Liquidity
      • Overview
      • Bins
      • Pools
      • Adding Liquidity
      • Your Liquidity
      • Removing Liquidity
      • Understanding Active APY
      • How to Create a Pool
      • Starting Mid Price
      • Shape Liquidity Fees
    • LSU Pool
      • FAQs
      • Liquid Staking on Radix
      • LSU Pool Overview
      • Move Stake and Instant Unstake
      • Adding Liquidity
      • Removing Liquidity
      • Credit Receipt
      • Manifests
      • LSU Pool Fees
    • Simple Pools
      • Overview
      • Create a Pool
    • FEES
  • PRODUCTS (CAVIAR)
    • HyperStake
  • Ecosystem
    • CAVIAR Airdrop
    • Radix Ignition
    • Token Bridge
    • Fee Vaults
  • Instant XRD Unstaking
    • Overview
  • API
    • CoinMarketCap
    • CoinGecko
    • Public
  • Tools
    • iFrame Trading Widget
Powered by GitBook
On this page
  • iFrame Styles
  • Default Starting Resources
  • Radix Connector Browser Extension
  1. Tools

iFrame Trading Widget

Integrate our stylish trading widget into your website with the simple code snippet below

PreviousPublic

Last updated 1 year ago

Simply add the below iFrame code snippet to your website and your users will always be able to trade on Radix!

<iframe
    src="https://www.caviarnine.com/embed/trade"
    width="467px"
    height="544px"
    frameBorder="0" 
/>

iFrame Styles

Currently we have 2 styles, which can be set with a queryStringParameter

  1. c9_dark01 [default]

  2. c9_light01

Example:

<iframe
    src="https://www.caviarnine.com/embed/trade?style=c9_light01"
    width="467px"
    height="544px"
    frameBorder="0" 
/>

Default Starting Resources

If you would like to preset the iFrame widget with two tokens of your choice that CaviarNine support you can pass their resource_address(es) in as part of the query string.

sell_resource=
buy_resource=
<iframe
    src="https://www.caviarnine.com/embed/trade?sell_resource=resource_rdx1t52pvtk5wfhltchwh3rkzls2x0r98fw9cjhpyrf3vsykhkuwrf7jg8&buy_resource=resource_rdx1t5pyvlaas0ljxy0wytm5gvyamyv896m69njqdmm2stukr3xexc2up9"
    width="467px"
    height="544px"
    frameBorder="0" 
/>

Radix Connector Browser Extension

To let your Radix Wallet connect to the iFrame in your websites, you’ll need to download the Radix Connector browser extension. You can find the details about that here...

https://wallet.radixdlt.com/
C9 light and dark mode