J
J
jslby2021-07-01 00:19:52
JavaScript
jslby, 2021-07-01 00:19:52

How to get multiple addresses from one Ethereum public key?

Hello!
There is a need to get from one public key constantly different addresses that are attached to it.
There is a similar solution for bitcoin: https://github.com/mscheetz/btc-xpub-address

import BtcXpubAddress from 'btc-xpub-address';

const xpub = 'your xpub';
const address = await BtcXpubAddress.getAddress(xpub);


but under Ethereum I can't find anything similar. From one public key it turns out to get only 1 address. Is it possible to get multiple addresses from an Ethereum public key, as is done in bitcoin?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question