Environment Segmentation

Qube provides the following two environments for API usage:

  1. Testing Environment

    • Domain: https://staging-qube.vercel.app

    • Used for development and testing API implementation.

    • Allows safe testing with test data, ensuring no impact on production data.

    • Note: Data in the testing environment may be reset periodically.

  2. Production Environment

    • Domain: https://www.0xqube.xyz

    • Used for live projects and handling production data.

    • Since production data is affected, ensure thorough testing in the testing environment before using this.

  1. Testing in the Test Environment

    • Start by using https://staging-qube.vercel.app to ensure that the API implementation functions correctly.

    • Errors or issues encountered during testing will not affect the production environment.

  2. Transition to the Production Environment

    • Once testing is complete, change the API request domain to https://www.0xqube.xyz.

    • In the production environment, use the unique API key for your production project and carefully manage the data.

Notes

  • Switching Environments: Ensure that you switch the domain in the request URL before sending requests to the production environment.

  • Using API Keys: Test and production environments have separate projects, and each project has a unique API key. Use the appropriate key for each environment.

Summary

Environment
Domain
Usage
Notes

Testing Environment

During development or implementation testing

Data in the environment may be reset periodically

Production Environment

For managing actual projects and operational data

There is a possibility of affecting production data

Last updated

Was this helpful?