Skip to Content
Usage ExamplesInitializing Nord

Initializing Nord

To initialize the SDK, you’ll need the 01 Exchange App Key:

zoau54n5U24GHNKqyoziVaVxgsiQYnPMx33fKmLLCT5
import { Nord } from "@n1xyz/nord-ts"; const connection = new Connection('https://api.devnet.solana.com'); const appKey = 'zoau54n5U24GHNKqyoziVaVxgsiQYnPMx33fKmLLCT5' // 01 Exchange App Key // Create a Nord instance // Initialize and fetch market data const nord = await Nord.new({ app: appKey, // 01 app key solanaConnection: connection, webServerUrl: 'https://zo-devnet.n1.xyz', });
Last updated on