OASIS Web5 STAR Rust SDK

Official Rust client for the OASIS Web5 STAR API - Gamification, OAPPs, missions, quests, STARNET, and metaverse functionality.

🌟 Features

  • Type-safe API: Full Rust type safety with serde serialization

  • Async/Await: Built on tokio and reqwest

  • STAR Operations: Ignite, light, evolve STAR

  • OAPPs: Create and manage decentralized applications

  • Gamification: Missions, quests, chapters

  • Holons & Zomes: Plug-and-play components

  • STARNET: Decentralized network operations

🚀 Installation

[dependencies]
oasis-web5-star-client = "1.0"
tokio = { version = "1", features = ["full"] }

📖 Quick Start

use oasis_web5_star_client::{OASISWeb5STARClient, Config};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let config = Config::new("http://localhost:50564/api");
    let client = OASISWeb5STARClient::new(config);

    // Ignite STAR
    let status = client.ignite_star().await?;
    println!("STAR ignited: {}", status.result.unwrap().is_ignited);

    Ok(())
}

🌐 STAR Operations

📱 OAPP Management

🎮 Gamification

Missions

Quests

Chapters

🧩 Holons & Zomes

🔌 STAR Plugins

🌍 STARNET

🔗 Integration with Web4

📚 Examples

See examples/ for complete examples:

🧪 Testing

📄 License

MIT

Last updated