One payment with a muxed transaction source, operation source and destination
A payment where the transaction source, the operation source and the destination are all muxed accounts (M…), with IDs 1, 2^64-1 and 2^63.
The shape
A payment where the transaction source, the operation source and the destination are all muxed accounts (M…), with IDs 1, 2^64-1 and 2^63. Each M address is a base account plus a 64-bit ID: the ID must be kept, and balances belong to the base account. Readers that store the M string as the account, or drop the ID, misattribute or lose the payment.
Variants
| Variant | Protocol | Network | Source | Size | sha256 |
|---|---|---|---|---|---|
p30-mainnet-generated | P30 | mainnet passphrase | generated by stellar-core v30.0.0 | 2,456 B | fd9d0c246bf3… |
p30-testnet-generated | P30 | testnet passphrase | generated by stellar-core v30.0.0 | 2,456 B | c4d525c05899… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| The transaction source is alice muxed with ID 1. | MBQXLZZTGUKRRRYDQNQOMKWL7DN3PGIBPNBIHDIO5KFPPPIFAHHQIAAAAAAAAAAAAGYJW | constructionsnapshotcorewalker |
| The operation source is alice muxed with ID 2^64-1. | MBQXLZZTGUKRRRYDQNQOMKWL7DN3PGIBPNBIHDIO5KFPPPIFAHHQJ7777777777775YC2 | constructionsnapshotcorewalker |
| The destination is bob muxed with ID 2^63, above the int64 maximum. | MCDNGZ7NJFNBWBP7DXYQKJRBG2VAIR5DCCCLUDBZW5B3VGUFKDG5BAAAAAAAAAAAACH6Q | constructionsnapshotcorewalker |
| Operation 0 succeeds. | success | snapshotcorewalker |
Check it yourself
make verify # schema, hashes, the byte-for-byte round trip and every fact above
make oracle # the facts' values, re-read by stellar-core and the schema walkerEntry id muxed.payment.every-position · compiled from catalog/muxed.payment.every-position.json · entry.json
A path payment through an alphanumeric-12 asset to a muxed destination
PATH_PAYMENT_STRICT_SEND from XLM through XPFLONGCODE1 (alphanum-12) to XPF, delivered to M(alice, 7).
Payments to two different muxed IDs of one account in the same ledger
Two payments in one ledger reach M(bob, 100) and M(bob, 200): two muxed addresses, one base account.