I've been reading and playing around with mangled/franken addresses the past day. I understand the concept and I created one myself, but I am wrapping my head around the question if there is a way to detect if a given address is such mangled/franken address?

Since staking addresses are often used as authentication information, mangled/franken addresses can be used to impersonate wallets and trick systems that haven't considered such addresses.

2 Answers 2


If the stake part of the address has not been registered, that should be detectable (eg it does not exist in the stake_registration table of db-sync).

However, if the stake address has been registered, but to a different wallet than the payment address, I cannot think of a way to detect this.


staking addresses are often used as authentication information

I think that'd be a faulty assumption to begin with. The Wallet layer is a lot more open to human interpretation, protocol only knows about different types of addresses.

Grouping by stake addresses is often used to account for the common scenario (a typical end user) , but it should never really be equated as a guarantee to reepresent individual wallet(s). There is nothing except the root public key itself for the HD-Wallet to identify addresses owned by specific wallet.

Use of other assumptions have to come with the corresponding risks for exception cases as above (besides, it's not always a good result - audits for accounting can become really messy with these).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.