chore(xrpl): remove token instance registration script & update guides #1064
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As of XRPLGateway v1.3.2, token instance registration doesn't need to be performed manually: commonprefix/axelar-amplifier#29.
Hence, we remove the outdated
register-token-instance
script and update the XRPL token deployment guides.Note
Removes manual token instance registration by deleting the script and updating XRPL deployment/linking docs to drop that step and renumber.
xrpl/register-token-instance.js
.xrpl/README.md
: RemoveRegister Token Instance
section.xrpl/docs/deploy-local-token.md
: Remove step for token instance registration; update instruction to repeat steps4-7
.xrpl/docs/deploy-remote-token.md
: RemoveXRPL Token Instance Registration
section.xrpl/docs/link-token.md
: Drop token instance registration step; renumber subsequent steps (remote token registration and mint role grant).Written by Cursor Bugbot for commit f2769a6. This will update automatically on new commits. Configure here.
Greptile Overview
Updated On: 2025-10-01 14:46:55 UTC
Summary
This PR removes outdated manual token instance registration functionality from XRPL token deployment workflows. The changes are driven by XRPLGateway v1.3.2, which now automatically handles token instance registration that previously required manual intervention via a dedicated script.The PR eliminates the
register-token-instance.js
script entirely and updates all related documentation across three deployment guides: link-token, deploy-remote-token, and deploy-local-token. The documentation updates involve removing step-by-step instructions for manual token instance registration and renumbering subsequent steps to maintain proper flow.This change simplifies the token deployment process by removing a manual step that was error-prone and is now handled automatically by the gateway contract. The updates ensure that users won't attempt to perform deprecated manual registration processes when the system handles this automatically.
Important Files Changed
Changed Files
xrpl/register-token-instance.js
xrpl/README.md
xrpl/docs/link-token.md
xrpl/docs/deploy-remote-token.md
xrpl/docs/deploy-local-token.md
Confidence score: 5/5
Sequence Diagram