Adrena is a leverage trading perpetuals exchange on the Solana blockchain focusing on the gamification and competitiveness of trading.
Last updated Nov 22, 2025
10
Stars
1
Forks
1
Issues
0
Stars/day
Attention Score
14
Topics
Language breakdown
TypeScript 100.0%
JavaScript 0.0%
▸ Files
click to expand
README
In development...
SDK for interacting with the Adrena Protocol using Typescript and @solana/kit
Adrena Links:
- Website: https://app.adrena.xyz/
- X: https://x.com/AdrenaProtocol
- Discord: https://discord.gg/Z3UZAVA2ch
- Docs: https://docs.adrena.xyz/
Installation
Install the Adrena SDK:
Using yarn
# Install the SDK
yarn add adrena-sdk-ts@beta
Using npm
# Install the SDK
npm install adrena-sdk-ts@beta
Configuration
To use this SDK, you will need to interact with the Solana blockchain using an RPC URL and sign transactions with your private key. We will initialize a "Solana Kit Client" to use these dependencies.
The Kit Client can be configured in two ways:
- Using .env variables:
PRIVATEKEYSTR: Your Solana private key
- RPC_URL: Solana RPC URL
- WS_URL: Solana WebSocket URL (optional)
- Passing configuration directly:
import { createKitClient } from 'adrena-sdk-ts';
const client = await createKitClient({
privateKey: 'your-private-key',
rpcUrl: 'https://your-rpc-url.com',
wsUrl: 'wss://your-ws-url.com' // optional
});
Get Started
See examples directory to see how we can interact with the Adrena Protocol.🔗 More in this category