Coin Moebius SDK — CDN

Drop-in <script>-tag delivery of the Coin Moebius browser SDK.

Recommended drop-in

<script src="https://cdn.coinmoebius.com/v1/sdk.global.js"></script>
<coin-moebius-buy
  endpoint="https://api.coinmoebius.com"
  project-id="proj_xxxxxxxx"
  product-id="my-product">
  Buy now
</coin-moebius-buy>

The /v1/ path serves the latest v1 release. v2+ ships at /v2/; your existing pages keep working until you choose to switch. For belt-and-suspenders pinning to an exact version, use /v1.0.0/sdk.global.js.

Backup CDN (jsDelivr)

If cdn.coinmoebius.com is ever unreachable, the same bundle is mirrored on jsDelivr automatically via our npm package:

<script src="https://cdn.jsdelivr.net/npm/@aquarian-metals/coin-moebius-element@1/dist/sdk.global.js"></script>

jsDelivr is a free, multi-CDN-backed service (Cloudflare + Fastly) that serves any file in any npm package. The bundles ship inside our element package, so the same URL pattern works on unpkg too: https://unpkg.com/@aquarian-metals/coin-moebius-element@1/dist/sdk.global.js.

Auto-failover pattern for production sites that want to keep selling during a CDN outage on either side. Drop this in place of the single primary tag: the second script only loads if the first fails.
<script
  src="https://cdn.coinmoebius.com/v1/sdk.global.js"
  onerror="this.onerror=null; var s=document.createElement('script'); s.src='https://cdn.jsdelivr.net/npm/@aquarian-metals/coin-moebius-element@1/dist/sdk.global.js'; document.head.appendChild(s);">
</script>

Element-only build

If you only need the <coin-moebius-buy> element and not the JS API on window.CoinMoebius, use the slimmer entry:

<script src="https://cdn.coinmoebius.com/v1/sdk.element.js"></script>

Bundler users

Install from npm instead — same code, with proper tree-shaking:

npm install @aquarian-metals/coin-moebius-element

Source

Open source at github.com/aquarian-metals/coin-moebius.