SDK Guide
Installation
Install and configure the Truffle AI SDK
Installation
Requirements
- Node.js 14.x or higher
- npm or yarn package manager
Installing the SDK
Install the Truffle AI SDK using npm:
Or using yarn:
Configuration
Import and initialize the TruffleAI client in your code:
The client accepts an optional configuration object:
TypeScript Support
The SDK is written in TypeScript and includes type definitions out of the box. No additional configuration is required to use it in a TypeScript project.
Next Steps
Once you have installed the SDK, you can: