dApp Embeds

Embed interactive DeFi widgets directly in your documentation

Interactive Documentation

Let users swap tokens, stake, or interact with your protocol without leaving your docs. Increase engagement and reduce friction.

Swap Widget Example

Embed a fully functional swap widget. Users can trade tokens directly from your documentation.

Swap
FromBalance: 1,234.56
To (estimated)Balance: 5,678.90
0.85
1 MON = 0.847 USDCBest route via MonadSwap
Powered by MonadSwap Aggregator

Embed Syntax

# Swap Widget
Embed a swap interface:

:::dapp-swap
aggregator: monadswap
default-from: MON
default-to: USDC
theme: dark
show-balance: true
:::

# Staking Widget
:::dapp-stake
protocol: nodematrix
token: NOX
show-apy: true
:::

# NFT Mint Widget
:::dapp-mint
contract: 0x1234...
chain: monad
max-per-wallet: 5
:::

Supported dApp Embeds

Token Swap

Multi-DEX aggregator swap widget

UniswapMonadSwap1inchJupiter

Staking

Stake tokens and view rewards

Any ERC-20 stakingLP stakingNFT staking

Wallet Connect

Multi-wallet connection button

MetaMaskWalletConnectPhantomCoinbase

Bridge

Cross-chain asset bridge

LayerZeroWormholeAcrossStargate

Security First

All embedded dApps run in sandboxed iframes with strict CSP policies. Wallet connections are handled securely through official SDKs.