Feat: Changelly integration#6028
Merged
Merged
Conversation
2 tasks
b4e9343 to
6d9adb3
Compare
2 tasks
j0ntz
reviewed
Jul 11, 2026
j0ntz
reviewed
Jul 11, 2026
There was a problem hiding this comment.
Claude Code Review
Claude Code Review is paused for this repository. To reconnect it, an admin of this repository's GitHub organization (or the account owner, for personal repositories) who can also manage your Claude organization's Code Review settings needs to re-link GitHub in Code Review settings. This is a one-time step.
Tip: disable this comment in your organization's Code Review settings.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d6163cb. Configure here.
d6163cb to
2b9cbac
Compare
j0ntz
approved these changes
Jul 13, 2026
Decodes strings stored as arrays of XOR-masked char codes, with a scripts/obfuscateString.ts helper to generate the arrays for env.json. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Enable the changelly swap plugin, with API credentials supplied via initOptions and stored XOR-obfuscated in env.json. Co-authored-by: Changelly <changelly@users.noreply.github.com> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2b9cbac to
2c377f4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Replaces #5988, reordered so the obfuscation utility lands first:
scripts/obfuscateString.tsto generate the arrays.CHANGELLY_INIT: an apiKey stored XOR-obfuscated in env.json plus a plaintextpartnerId(edge-app), both required with no defaults, passed to the plugin via initOptions (see Add Changelly swap plugin edge-exchange-plugins#471).🤖 Generated with Claude Code
Note
Medium Risk
New third-party swap integration and env credential handling; impact is limited to swap quoting/execution when config is present, not core auth or funds custody.
Overview
Adds Changelly as a centralized swap provider, gated by new
CHANGELLY_INITin env config (apiKeyvia XOR-masked char arrays, plaintextpartnerId; both optional with no defaults so incomplete config disables the plugin). The provider is registered inswapPluginsand gets the usual UI wiring (CDN icon, KYC/terms links inSwapVerifyTermsModal).Introduces
asObfuscatedString(cleaner +scripts/obfuscateString.ts) so sensitive env fields can be stored as obfuscated arrays instead of plain strings.Reviewed by Cursor Bugbot for commit 2c377f4. Bugbot is set up for automated code reviews on this repo. Configure here.