Environment Prerequisites

This guide assumes the following tools are installed and configured correctly. Please see each tool’s installation instructions for more details:

Install Dependencies

You will need to add both the Forte Rules Engine solidity package and the typescript SDK to your project.

npm install @thrackle-io/forte-rules-engine
npm install @thrackle-io/forte-rules-engine-sdk

Update your remappings.txt or foundry.toml to include the path to the Forte Rules Engine.

// any other existing remappings already present
@thrackle-io/forte-rules-engine/=node_modules/@thrackle-io/forte-rules-engine