Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.
This repository was archived by the owner on May 27, 2025. It is now read-only.

discussion: try refactoring examples/rgbpp/xudt/launch into a simpler single-step test #247

Open
@Flouse

Description

@Flouse

Some developers have encountered issues when launching RGB++ assets on Bitcoin

To address this issue, I suggests exploring the possibility of restructuring the testing process into a simpler, single-step test, rather than the current multi-step approach.

The goal is to make the testing process more streamlined and efficient for new developers, reducing the complexity and potential for issues during the launch of RGB++ assets on the Bitcoin network.

Related Thoughts about Streamlined Developer Experience

  • Providing default access tokens for Testnet3 and Signet can reduce friction and improve the developer experience, as they can quickly get started with the SDK examples without the need to get an assets-api access-token.

    If the default Testnet/Signet tokens are used excessively, there is a risk of abuse. To mitigate this, we can rotate the default tokens if necessary.

  • Developers prefer a development experience that is as close to "zero-config" or "minimal configuration" as possible.

    1. Inferring and providing default values for configurations: Whenever possible, infer and provide default values for configurations that developers would otherwise need to set manually. This reduces the cognitive load on developers and allows them to focus on writing code rather than configuring the environment.
    2. Documenting the default values and their rationale: Clearly document the default values provided and explain the reasoning behind them. This helps developers understand the choices made and when it might be appropriate to override the defaults.
    3. Allowing for easy overriding of defaults: While providing sensible defaults, ensure that developers can easily override them when necessary. This flexibility allows for customization while still providing a zero-config experience for common use cases.

These strategies may provide a more developer-friendly experience that reduces the time and effort required to get started with rgbpp-sdk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions