Enforcement points
Running server-side Defense Mode plus a client-side check (library or binary) gives you two independent checkpoints: one inside the API, one in your own signing flow. Defense Mode needs no code changes on your end; a client-side check adds protection against tampering after the API responds.
Choosing a client-side option
- TypeScript / Node.js
- Any other language
- Restricted or air-gapped
Use the
@yieldxyz/shield npm package directly in a Node.js backend, a server-side rendering layer, or a browser bundle. This is the simplest path for wallets, web apps, and hosted widget integrations.For dedicated on-premises deployments or custom policy control beyond the standalone binary, contact the yield.xyz team to scope the setup.
HyperNative
Some integrations also run HyperNative, a separate partner integration for pre-signing simulation, alongside Shield. Shield and HyperNative check different things: Shield validates that a transaction matches an expected structural pattern, HyperNative simulates what the transaction would do. They’re independent layers, not tiers of the same product.Next steps
Defense Mode
Server-side enforcement, rollout, and rollback
Shield integration
Library, standalone binary, and language guides
HyperNative
Pre-signing simulation, as a separate partner integration
Security overview
How every piece fits together

