Reproduce a Cardano shared-wallet payment address on two devices

Knowing both cosigners’ account public keys is insufficient if the devices disagree on the shared script template or derivation index. Rebuild the same script on each device.

Resolve every placeholder at the same index

For the illustrative two-party template, map each cosigner label to the agreed participant public key. Derive the payment child for external role zero and index twelve for each participant under the shared-wallet convention.

all [cosigner#0, cosigner#1]
role 0 / index 12 → derive both participants at index 12

Substitute the derived key hashes into the same ordered native-script structure, then hash the serialized script. If the two devices disagree, compare the label mapping and script order before investigating address encoding.

Include the delegation template when applicable

A base address also includes a staking credential. Matching payment script hashes can therefore coexist with different full addresses. Compare network tag and delegation script settings as well. Share public derivation material according to the wallet design and keep private keys on their original devices. cips.cardano.org Cardano CIP-1854