Widget demo
Try the Float widget
This page works like a partner's site: choose where the CC goes and the theme, then open Deposit or Withdraw. The pop-up is the real one — a deposit you complete is a real order.
Where deposited CC arrives. Leave empty and the pop-up asks the user for it.
Orders opened in the pop-up are credited to this code.
Pick one or several. With several, the pop-up's title becomes a dropdown: “Get CC ▾” / “Withdraw CC ▾”.
Theme
The code for your site
<script src="https://www.myfloat.cc/widget.js" async></script>
<button onclick='Float.open({ mode: "deposit", ref: "YOUR_CODE", theme: "auto" })'>Get CC</button>
<script>
function withdraw() {
Float.open({
mode: "withdraw", ref: "YOUR_CODE", theme: "auto",
// Your wallet sends it — the user approves there, nothing to copy.
onSendRequest: async ({ to, amount, asset, instrument, memo }) => {
if (!(await yourWallet.confirm(`Send ${amount} ${asset}?`))) return { ok: false, error: "You declined the transfer." };
const tx = await yourWallet.transfer({ to, amount, asset, instrument, memo });
return { ok: true, txId: tx.updateId };
},
});
}
</script>
<button onclick="withdraw()">Withdraw CC</button>Or a link (opens the pop-up on Float)
https://www.myfloat.cc/widget?mode=deposit
Every option, the events and the hosted page: Widget reference. Your referral code is in the partner dashboard.