@xtreamlyio/sdk
v1.1.0
Published
This is a Typescript sdk to easily access Xtreamly's predictions APIs, agents and a lot more intelligent functionality.
Readme
Xtreamly's Typescript SDK
Optimize and enhance your development process with this SDK, seamlessly integrating Xtreamly's advanced AI models and built-in on-chain capabilities to create fully customized trading bots tailored to your needs!
Prerequisites
- node v20.18.1 (the version inside the .nvmrc file)
Install it as a typescript library
pnpm i @xtreamlyio/sdkCheck the examples folder for usage examples:
import {VolatilityAPI} from "xtreamly-sdk";
const api = new VolatilityAPI()
api.state("ETH").then(console.log);Configuration
Your trading bot is configured via the .env file (environment variables):
XTREAMLY_API_KEY: A key to Xtreamly's API model predictions, get yours here: https://xtreamly.io/api
You can just copy the .env.example file:
cp .env.example .envLocal execution
- Set node version (if you are using nvm)
nvm use - Install dependencies:
pnpm i && pnpm postinstall - Run an example:
pnpm getVolatilityState
