@oasis/web5-star-api-client
Official JavaScript/TypeScript client for the OASIS Web5 STAR API - Gamification, OAPPs, missions, quests, and metaverse functionality.
🌟 What is STAR?
STAR (Synergistic Interoperable Unified Reality) is the Web5 gamification and metaverse layer of the OASIS ecosystem. It provides:
OAPPs: Decentralized applications built on OASIS
Gamification: Missions, quests, chapters, and progression systems
Holons & Zomes: Plug-and-play data objects and code modules
STARNET: Decentralized network infrastructure
Our World: The metaverse integration layer
🚀 Installation
npm install @oasis/web5-star-api-clientor
yarn add @oasis/web5-star-api-client📖 Quick Start
Basic Usage
React Example
🌐 STAR Core Operations
Ignite STAR
Get STAR Status
Light STAR
Extinguish STAR
📱 OAPP Management
Get All OAPPs
Create OAPP
Install OAPP
Publish OAPP
🎮 Gamification
Missions
Quests
Chapters
Create Mission
🧩 Holons & Zomes
Holons (Data Objects)
Zomes (Code Modules)
🔌 STAR Plugins
📚 OAPP Templates
🌍 STARNET Operations
Join STARNET
Get STARNET Status
Get STARNET Nodes
🛠️ Developer Portal
Get Resources
Get Statistics
⚙️ Configuration
Advanced Configuration
Environment Variables
🔗 Integration with Web4 API
STAR builds on top of the OASIS Web4 API. Use them together:
🔒 Error Handling
All methods return an OASISResult object:
Example:
📚 TypeScript Support
Full TypeScript support with complete type definitions:
🧪 Testing
📄 License
MIT
🔗 Links
🤝 Contributing
Contributions are welcome! Please see our Contributing Guide.
Last updated