Hooks
Hooks are small programs that run on a Xahau account. They can save a share of every payment, block unwanted payments, or do things on a schedule. Check what a wallet has installed, and learn what's possible.
Installed Hooks
Each account has 10 Hook slots.
Free DeFiCommons Hooks
Two simple safety Hooks, free to install. Tested on Xahau's testnet. They run on the ledger itself, so they keep working even if this website is down. Remove them any time.
Spam Filter Not installed
Blocks incoming XAH payments smaller than your minimum. Spam and scam links usually arrive as tiny "dust" payments with a message, so this keeps them out of your wallet. Outgoing payments and tokens aren't affected.
Spending Cap Not installed
Blocks any single outgoing XAH payment bigger than your limit, so a tricked signature can't empty your wallet. Incoming money and tokens aren't affected.
Enter your wallet address at the top first. Installing reserves a little XAH on your account while the Hook is on. Anyone with your recovery phrase can also remove a Hook, so the Spending Cap protects against mistakes and tricked signatures, not a stolen phrase.
DeFiCommons Firewall Not installed
Private security for serious holders. Even someone with your recovery phrase can't drain you in a hurry.
- Spending limit: a single payment over your limit only goes to addresses you've marked as trusted.
- Waiting period: a newly trusted address only works after the wait, and removing or changing the Firewall (or any Hook on this wallet) needs an unlock plus the same wait. You get time to notice and move your funds.
- Spam filter: refuses tiny incoming "dust" payments.
- Scam blocklist: refuses payments to or from known scam wallets (switching on soon).
Enter your wallet address at the top first. Paid once per wallet; updates and reinstalls on the same wallet are free.
Trusted addresses
Changes lock
To remove the Firewall or change its settings: start an unlock, wait for the waiting period, then you have 48 hours to make the change. If you ever see an unlock you didn't start, someone has your keys: move your funds to a new wallet right away.
What Hooks can do
Auto-savings
Moves a percentage of every incoming payment into a savings account automatically.
Payment firewall
Blocks payments from addresses or of tokens you don't want, before they reach you.
Scheduled actions
Runs on a timer, for example claiming your balance reward every month without you lifting a finger.
Spending limits
Holds back outgoing payments above a set amount until you confirm them a second way.
Where to find ready-made Hooks:
- Xahau Hook Standard Library: standard Hooks with documentation.
- HandyHooks: a community collection of Hooks running on mainnet and testnet.
- Xahau Hooks Builder: write and test your own Hook in the browser.
Only install a Hook from elsewhere if you understand what it does, and try it on testnet first. A Hook can move funds from your wallet. DeFiCommons only installs its own reviewed Hooks, listed above.