For my project, I have to build a blockchain using ECDSA address in order to be compatible with Ethereum. But the native address is in sr25519 scheme in substrate. What should I do to implement this? Are there any best practices?

1 Answer 1


AFAIK substrate supports a couple of signature schemes, among them secp256k1. Moonbeam is a chain built with substrate which uses Ethereum-compatible unified accounts. I suggest looking at their docs and/or code for more detailed information.

  • Thank you for your answer! Does it mean I have to do some "Deep customization" to substrate except only coding for a pallet?
    – kugool
    Commented Sep 2, 2022 at 1:50
  • I wouldn't say it's very 'deep customization'. Please have a look at this code in the Moonbeam repository. This is how the 'unified accounts' are implemented. Commented Sep 5, 2022 at 7:57

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.