MongoDB storage adapter for the Kinesis XRPL DynamicNFT Gaming SDK (v0.2.0). Persists NFT records and ownership history to a single auto-indexed MongoDB collection using NFTokenID as document _id for O(1) reads. Requires peer dependency xrpl-gaming-core ^0.2.0. Self-hosted adapter; managed tier planned. Key differentiator: designed specifically for XRPL gaming with automatic indexes on playerId, ownerAddress, and collection. Ships TypeScript types. Release cadence: early-stage, minor version bumps expected.
npm install xrpl-gaming-db-mongodbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes the XRPL Gaming SDK with MongoDB adapter for storing NFT records.
Ensure you manually call client.close() when shutting down your application.
Either provide both client and empty connectionString, or provide connectionString.
Monitor release notes for managed tier availability.
Run pnpm add xrpl-gaming-core@^0.2.0
import { MongoAdapter } from 'xrpl-gaming-db-mongodb'