Skip to content

Design Question: Fail-Closed Transaction Construction Pattern (Server-Side) #3208

@brentheckerman433-byte

Description

@brentheckerman433-byte

Context: Looking for best practices + any “gotchas” the maintainers see in the wild.
I'm designing a server-side transaction construction boundary using xrpl.js and want to enforce a fail-closed pattern prior to submission.

Goal:
Ensure malformed, unintended, or bypassed transaction shapes are rejected deterministically before submission to rippled.

Questions:

  1. Are there recommended patterns for strict pre-submission validation beyond schema-level checks?
  2. Are there known failure surfaces in tx construction that are commonly missed when using xrpl.js?
  3. Any guidance for enforcing a single controlled submission boundary in multi-tenant systems?

This is a design question rather than a bug report. Happy to refine if there’s a more appropriate venue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions