I would like to convert user's Ethereum address for example(0xc5D3a7d27DbDe23A7FC5E53F1a6f17F38C03194F) to substrate based address in this case(5DXoin5qNbzKt88CxDtx86vmaCxhxYzEfEWXahTvwgYMf4Gq). I manage to do it via subkey although it is based on the mnemonic, is it possible for me to convert any public address in any network to substrate-based address? The reason to do this is to to allow users with existing address and infrastructure such as Metamask or Trezor can use Polkadot and other substrate-based chain.
question from:https://stackoverflow.com/questions/66046379/convert-ethereum-or-bitcoin-address-to-polkadot-or-substrate-based-address