Configure
Build a policy using the documented schema.
Explore the runnable local JavaScript reference engine and proposed integration boundaries.
Use the included dependency-free JavaScript evaluator to experiment with policy logic. It is not a deployed SDK and does not submit transactions.
const policy = OriumEngine.defaultPolicy();
const tx = OriumEngine.scenario("approved");
const receipt = OriumEngine.evaluate(policy, tx);
console.log(receipt.status);Build a policy using the documented schema.
Pass a candidate transaction into the local engine.
Read the decision and each rule result.
Download the JSON receipt for development tests.