Installation

terminal
npm install @oasisomniverse/web4-api

Initialisation

javascript
import OASIS from '@oasisomniverse/web4-api';

const oasis = new OASIS({
  baseUrl: 'https://api.oasisomniverse.one',  // or your ONODE URL
  token:   'your-jwt-token'                   // set after authenticate()
});

Auth Module — oasis.auth

Avatar Module — oasis.avatar

Karma Module — oasis.karma

Data Module — oasis.data

NFT & Wallet Module — oasis.nft

Map Module — oasis.map

HyperDrive Module — oasis.hyperdrive

💡
WEB5 API

@oasisomniverse/web5-api extends WEB4 with Celestial Spaces, GeoNFTs, holonic memory, and cosmic-scale features. See WEB5 SDK reference.