CI · command line
Fail the build on the boundary.
The runner is one Node file. examples/astrow-check.mjs carries the same engine the site uses (generated from it, checked by a test), talks to the Elysium RPC directly and needs only viem. Exit code 1 when the contract differs from its rule.
# forge build first; the artifact runs undeployed (creation code + constructor args) node tools/astrow-check.mjs \ --artifact out/MyVault.sol/MyVault.json \ --args $(cast abi-encode 'f(address,uint256)' 0xa3659c451c9e40d8869341ffd5fe296de24c0373 60) \ --call "readPrice()" --max-age 60 # exit 0 = follows the rule · 1 = differs at some age · 2 = could not run
Where to get the file
It is served from this site: /astrow-check.mjs. The source repository will be linked here once it is public.
What it does not do
It does not run on every code update by itself: you wire it into your own CI. Automatic paid runs on every update are a Concept on the token page, not something that exists.