A calling contract is any smart contract that invokes the Forte Rules Engine to check a policy. Essentially, this is the onchain portion of your application and is fully under your control.

To subscribe a smart contract to a policy, it must extend the RulesEngineClient contract included in the Forte Rules Engine.

For full integration of your contract with the Forte Rules Engine, see the guidelines in the links below:

  1. Define your policy
  2. Add modifiers to your calling contract
  3. Register the policy with rules engine
  4. Deploy your contract
  5. Apply the policy you registered with the rules engine
  6. Test the configuration