Polkadot <> Kusama transfers - #1805
Merged
Merged
Conversation
…nce validation - forKusama.validate(): reject amount <= destination token minimum balance (ED guard) - $1 service fee deposited on Polkadot AH both directions: DOT via batchAll (p->k source), KSM skimmed in the PAH-dest customXcm (k->p); constants in forKusama.ts - faithful k->p dest dry-run reconstruction (models the fee skim) - transfer_for_kusama.ts: pin reliable Kusama-AH RPC for signAndSend
claravanstaden
force-pushed
the
clara/kusama-single-tx-v2
branch
from
July 23, 2026 14:26
083ffd7 to
0fe6829
Compare
- fee(tokenAddress, options?: { serviceFee: { recipient, amount } }) + build() options
- recipient/amount injected per-call, resolved onto DeliveryFee.serviceFee, read by tx()/validate()
- off by default (no fee unless injected); recipient accepts SS58 or hex (normalised)
- removed hardcoded SERVICE_FEE_RECIPIENT/DOT/KSM constants
- runner: opt-in via SERVICE_FEE_RECIPIENT + SERVICE_FEE_AMOUNT env
claravanstaden
force-pushed
the
clara/kusama-single-tx-v2
branch
from
July 24, 2026 09:11
582744d to
4312de6
Compare
claravanstaden
marked this pull request as ready for review
July 24, 2026 18:32
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.
Updates P<>K bridge transactions to match the new SDK interfaces. Adds an optional service fee (specified by the caller) to P<>K transactions: