Live on Xahau Mainnet

Production-Ready
Xahau Smart Contract Hooks

HookFlow

10 battle-tested hooks deployed and running on Xahau mainnet. Revenue splits, spending limits, firewalls, escrow automation, and more — ready to install or customize.

10
Hooks Live
46+
Tests Passed
100%
On-Chain
2
Mainnet Wallets

The Hook Library

Each hook is written in C, compiled to WebAssembly, and deployed to Xahau mainnet. Fully parameterized — no recompilation needed.

1

Revenue Split

Automatically splits a configurable percentage of every incoming XAH payment to a second wallet. Perfect for partnerships, royalties, or profit sharing.

ttPAYMENT emit ✓ Live
2

Spending Limit

Caps daily outgoing spend using on-chain state. Automatically resets each day. Protects wallets from unauthorized large withdrawals.

ttPAYMENT state ✓ Live
3

Firewall

Blocks incoming payments from blacklisted sender addresses. Up to 5 blocked addresses configurable via hook parameters.

ttPAYMENT rollback ✓ Live
4

Receipt Logger

Logs every incoming payment to on-chain state — stores the last payment details and running total. Full audit trail on-ledger.

ttPAYMENT state ✓ Live
5

Escrow Release

Validates EscrowFinish conditions before allowing release. Enforces minimum hold time and authorized releaser address.

ttESCROW_FINISH rollback ✓ Live
6

Notification Bridge

Emits a 1-drop ping to a notification address when qualifying payments arrive. Off-chain monitoring made easy.

ttPAYMENT emit ✓ Live
7

Multi-Sig Gate

Requires M-of-N approval signatures for outgoing transactions. Configurable signers and threshold — trustless multi-party control.

outgoing state ✓ Live
8

Auto-Refund

Automatically returns incoming payments that are missing a required destination tag. Prevents misrouted funds.

ttPAYMENT emit ✓ Live
9

Royalty Cascade

Splits incoming payments across up to 4 destination wallets, each with individually configurable percentages. Multi-party royalty distribution in a single hook.

ttPAYMENT emit ✓ Live
10

Subscription

Enables recurring payment authorization. A pre-approved merchant can pull a fixed subscription amount at configurable intervals by sending any payment to the subscriber's wallet.

ttPAYMENT emit state ✓ Live NEW

Mainnet Proof

Every hook is verifiable on-chain. Don't trust — verify.

Hooks 1–8 (Primary Wallet)

Hook 1 Deploy TX FB55D1FF...028463
Hooks 2–8 Deploy TX 16F447A8...E1E8C2

Hooks 9–10 — Royalty Cascade & Subscription (Dedicated Wallet)

Hook 9 Deploy TX 52758BBE...4A632E
Hook 10 Deploy TX DA1F5949...FC361
Test TX (100 XAH → 40 XAH split) Verified ✓
Network Xahau Mainnet (ID: 21337)

Pricing

From self-install to fully custom — pick what fits your needs.

Free

$0
  • Full source code (MIT license)
  • Self-install from GitHub
  • Community support only
  • Compile & deploy yourself
View on GitHub

Pro / White-Label

500+ XRP
or 7,500+ XAH
  • Custom hook logic & development
  • Full security review
  • Complete source code delivery
  • White-label option
  • Priority support
  • Mainnet deployment included
Request Quote

Request a Custom Hook

Tell us what you need and we'll scope it out. No obligation — we'll reply with a detailed proposal within 48 hours.

What kind of hook are you looking for? Select all that apply.
Which transaction types should the hook trigger on?
Should the hook fire on incoming, outgoing, or both?
Be as detailed as possible. What should the hook do? What are the conditions, parameters, and expected behavior? Include any edge cases you've thought about.
If your hook involves routing funds, how many destination wallets?
State lets hooks remember data between transactions (counters, limits, logs).

✓ Request Submitted

We'll review your requirements and reply within 48 hours with a detailed proposal and quote.