Workshop
Build a hook.
Two separate paths: declarative policy manifests run in the ENES interpreter; native Rust programs need a real Solana toolchain.

- 1Sourceavailable
Manifest editor or Rust/Anchor package
- 2Validate & testavailable
Schema + deterministic scenarios in your browser
- 3Compile Solana programblocked
No isolated SBF compiler configured. Build locally: anchor build --verifiable
- 4Wallet deployblocked
solana program deploy from your machine; ENES never holds upgrade keys
- 5Verified buildblocked
solana-verify verify-from-repo → executable hash must match
- 6Publish metadataavailable
Wallet-signed offchain listing; not onchain deployment
- 7Stakeblocked
Needs registry program + stake mint
output
Run validation to see diagnostics.
native program starter
A native enforcement program still requires original Anchor source, a reproducible build, executable deployment and verified IDL. These commands describe the toolchain, not a compiled package delivered here.
anchor build --verifiable cargo test -p enes_policy solana program deploy target/deploy/enes_policy.so solana-verify verify-from-repo --program-id <ID> <repo>