Introduction

Getting Started

To get started with Intent.js, include it in your project by installing the package via npm:

npm install intents.js

To properly use Intents.js, we recommend using ethers.js version 5.7.x

npm install ethers@5.7.x

Then, import the necessary components to begin defining and executing your intents:

import { IntentBuilder, Intent, Projects } from 'intents.js';
import { ethers, BigNumber } from 'ethers';

Last updated