Skip to main content

📦 Installing the Orynt SDK

The Orynt SDK is distributed via npm and works in both Node.js and browser environments.
Orynt SDK on npm

1️⃣ Install via npm

Or, if you use yarn:
Or, if you use pnpm:

2️⃣ Set Up Environment Variables

To authenticate with the SDK, set your wallet private key in a .env file:
Keep your private key secure and do not commit it to version control.

3️⃣ SDK Configuration Example

  • baseUrl: API endpoint for Orynt requests
  • network: blockchain network for micropayments
  • privateKey: your wallet key for authentication and payments

4️⃣ Verification

After setup, you can test your installation by making a simple chat request:
You should receive a valid AI response if the installation and environment variables are correctly configured.

🔗 Next Steps

Making Requests

Learn how to make chat, image, speech, and embedding requests using the SDK.