Skip to content

Iugis · live examples

See Iugis working: real use cases, a live checkout widget, and the exact calls that power them.

Three steps, no guesswork: pick a use case, run the live checkout widget against a real plan, then ship it with the 3-line snippet. Nothing is charged until you click Subscribe yourself.

Custody model 0% CUSTODY (Model B)
Throughput 1 TX / PERIOD

1 · Pick a use case

Click a card to jump to the live widget — every scenario below runs on the same checkout.

Illustrative scenarios — not live listings.

Scenarios and prices above are illustrative examples, not offers or live listings.

2 · Try the live checkout widget

Press Subscribe — the real popup checkout opens, and the observer console beside it logs every step.

Embedded Checkout Widget

EXAMPLE — sample “Coffee Club”

A stand-in sample so you can see the layout — add ?plan=<address> to preview your own plan.

Coffee Club

EXAMPLE

plan: — (pass ?plan=<address>)

— —

1. Payer checkout

Add ?plan=<address> to run the live popup checkout.

Authorization limit 1 period (approve-capped)
Custody none — Model B

No deposit. Funds stay in your wallet until charge day.

Embed it anywhere: POST /api/widget/sites, paste the snippet, done — foreign domains get 403.

Transaction observer console

logs only this page — no simulated traffic

Idle — waiting for your click in the widget. This console only reflects this page: button state, popup result, and signature. No websocket, no simulated traffic.

INTERNAL SIGNATURE STATE IDLE // AWAITING USER ACTION
INSTR 1
spl_token::approve
INSTR 2
program::subscribe
DELEGATION
—

3 · Ship it in 3 lines

These are real endpoints — curl them, or paste the snippet on any site.

3 lines of code. Zero boilerplate.

No backend cron, no escrow, no custodial vault. Paste the snippet, bind your domain, and the popup handles approve + subscribe in one transaction.

  • No backend cron — the contract charges one period per transaction.
  • No escrow — funds stay in the subscriber wallet until charge day.
  • Popup checkout stops at 403 on foreign domains.
CheckoutWidget.html
<script src="/widget.js"></script>
<button id="sub">Subscribe</button>
<script>SolhackPay.subscribe({ plan: "<PLAN>" }).then(unlock);</script>
INSTALLATION POST /api/widget/sites → paste snippet

Live vs mocked: Live: the widget button, the popup checkout, and the observer state after you click. Mock: nothing on this page is simulated — case cards describe mechanics, numbers come only from your ?plan= account.