3. Initialize Obscura

To start interacting with the Obscura network, import the SDK and create a new instance.

import { Obscura } from '@obscura/sdk';

const obscura = new Obscura({
  apiKey: 'your-api-key',
  network: 'mainnet-beta' // or 'devnet' for testing
});

Last updated