Shield Transaction Policies
Last updated
Was this helpful?
Last updated
Was this helpful?
Yellowstone Shield is a project that provides ways for managing transaction deliveries - allowing the user to allow or deny specific validators for downstream forwarding.
It's currently integrated with Yellowstone Jet and if you're using Cascade to send you already have support for it in your infrastructure for sending transactions. At it's simplest, you'd need to provide either a HTTP header or an additional parameter to your sendTransaction calls:
HTTP header:
If you're using another transaction sending software or infrastructure, Shield provides a ready set of APIs for anyone to integrate with to apply shield policies before sending transactions out to leaders on the Solana network.
Shield policies live on chain, so they are always accessible to everybody and does not depend on a central agency to maintain and update. There is tooling available to create and maintain Shield policies here:
The Ping Thing client which we maintain has an exmaple of how to use Shield in web3.js: