Compliance & Risk Automation.
Trigger immediate containment on transactions involving sanctioned addresses.
Shield your platform from compliance threats. Automate transaction tracking and query address risk parameters in real time using custom router predicates.
Compliance decisions need to happen as blockchain activity occurs
Meeting regulatory and internal compliance requirements means identifying sanctioned or high-risk wallet activity before it creates downstream risk. While blockchain analytics providers can classify wallet risk, integrating those checks into production workflows without slowing user-facing operations or missing critical events is often complex. Teams need a way to evaluate blockchain activity continuously and automate compliance actions the moment suspicious transactions are detected.
Real-time compliance workflows for blockchain activity
Blockferry monitors blockchain events as they occur and automatically evaluates them against your compliance rules. Using custom workflow logic, you can integrate providers such as TRM Labs, Elliptic, or your own internal risk services to assess wallet activity in real time. When high-risk transactions are detected, Blockferry immediately triggers automated actions—from notifying security teams to freezing platform balances or initiating internal review workflows.
Build it with the SDK & CLI
| 1 | import { BlockferryRouter } from "@blockferry/sdk"; |
| 2 | import { Blockferry } from "@blockferry/sdk"; |
| 3 | |
| 4 | const bf = new Blockferry({ |
| 5 | webhookSecret: process.env.BF_WEBHOOK_SECRET!, |
| 6 | }); |
| 7 | const router = new BlockferryRouter(); |
| 8 | |
| 9 | // Custom predicate — async sanction check |
| 10 | router.match({ |
| 11 | custom: async (event) => { |
| 12 | const sanctioned = await ofac.checkAddress(event.fromAddress); |
| 13 | return sanctioned; |
| 14 | }, |
| 15 | }, async (event) => { |
| 16 | await db.auditLog.create({ |
| 17 | type: "SANCTION_HIT", |
| 18 | address: event.fromAddress, |
| 19 | txHash: event.txHash, |
| 20 | timestamp: new Date(), |
| 21 | }); |
| 22 | await platform.freezeAccount(event.fromAddress); |
| 23 | await alerts.escalate("compliance", event); |
| 24 | }); |
| 25 | |
| 26 | export async function POST(req: Request) { |
| 27 | if (!bf.verify(req)) return new Response(null, { status: 401 }); |
| 28 | const [event] = bf.parse(req); |
| 29 | await router.handle({ event }); |
| 30 | } |
What you get out of the box
Custom predicate filters on BlockferryRouter to execute dynamic, real-time API or database lookups
Cryptographic HMAC signature verification ensuring webhook integrity before parsing data
Multi-chain watchlist configuration mapping blacklisted addresses to trigger alarms on interaction
Immutable compliance audit logs preserving original timestamps and block IDs
Reliable failover logic executing local safety policies if external lookups timeout
Other Blueprints
Wallet Activity Monitoring
Track address balances, state changes, and token transfers in real time.
Multisig & Treasury Alerts
Secure institutional funds with automated alerts for multi-chain wallet transfers.
Merchant Payment Confirmations
Automate checkouts and billing pipelines with reorg-safe block confirmations.
Ship compliance & risk automation this week.
Create an account and hook up your first workflow rule in just a few minutes.