feat: add Internet Computer (ICP) blockchain integration#3255
Draft
feat: add Internet Computer (ICP) blockchain integration#3255
Conversation
Add full ICP support including native ICP and ICRC-1 tokens (ckBTC, ckETH, ckUSDC, ckUSDT): - Principal-based wallet derivation (Ed25519, BIP32/BIP39) - Native ICP monitoring via query_blocks with internal AccountIdentifier matching - ICRC-1 token monitoring via get_transactions (ICRC-3) - Buy (EUR → ICP/ckUSDT), Sell (ICP/ckUSDT → EUR) pipelines - Payment Link (OCP) support with TxId and ICRC-2 Approve/TransferFrom flows - DEX strategies (check-liquidity, purchase, sell, supplementary) - PayIn strategies (register, send for coin and token) - Payout strategies (prepare, payout for coin and token) - Deposit address generation (one Principal per user for all ICP assets) - Signature verification for user authentication
456ecf3 to
32973f1
Compare
Replace nested ternary with a record lookup for better readability and maintainability.
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.
Summary
query_blockswith internal AccountIdentifier matching; ICRC-1 token monitoring viaget_transactions(ICRC-3)Test plan