Skip to main content

Recipes

Welcome to the Orbitport Recipes section! Here you'll find practical, step-by-step guides for implementing various features and integrations with SpaceComputer Orbitport.

What are Recipes?

Recipes are focused, implementation-focused guides that show you how to:

  • Implement specific features with Orbitport
  • Integrate Orbitport services into your applications
  • Follow best practices for security and performance
  • Build real-world examples step by step

Each recipe is designed to be:

  • Practical: Complete, working code examples
  • Focused: One specific use case or feature
  • Production-ready: Includes error handling and best practices
  • Linked to resources: References to full blog posts and additional documentation

Available Recipes

🎲 Cosmic Randomness in Web3

Learn how to implement true cosmic randomness in your Web3 applications using Orbitport's cTRNG service. This recipe covers:

  • Secure server-side authentication with Orbitport
  • Token management and expiry handling
  • Random seed generation from cosmic radiation
  • Client-side integration with React hooks
  • Real-world usage examples

Use cases: Gaming, cryptography, blockchain applications, secure communications

Difficulty: Easy
Time to complete: 15-30 minutes

Getting Started

  1. Choose a recipe that matches your use case
  2. Follow the prerequisites to ensure you have the necessary setup
  3. Implement step by step using the provided code examples
  4. Customize the examples for your specific needs
  5. Explore related resources for deeper understanding

Prerequisites

Most recipes require:

  • Basic TypeScript/JavaScript knowledge
  • A Next.js or React application
  • API access to SpaceComputer Orbitport
  • Environment variables configured

Contributing

Have a recipe idea or want to improve an existing one? We welcome contributions! Each recipe should:

  • Focus on a single, well-defined use case
  • Include complete, working code examples
  • Provide clear step-by-step instructions
  • Link to relevant blog posts or documentation
  • Include practical examples and use cases

Support

Need help with a recipe or have questions about implementation?


Ready to start building? Pick a recipe and dive in! 🚀