0

enter image description here

BIP32 Extended Public Key How can I generate an address with node js? Is something like this possible

1 Answer 1

1
const hdwallet =  () => {
  let hdnode = ethers.utils.HDNode.fromExtendedKey(
    "xpub6EU9wCZtFWLvSuqz6Apd4xWjx2LWToJhAaswLRvb9XEKcRS9p4f63bGNhVboDqxDfERqGtA3gkxFj6CYynxXKmsrkV8HEjcVcGu4orqxmzQ",
    "m/44'/60'/0'/0"
  );
  let wallet = hdnode.derivePath("0");
  console.log(wallet.address);
};

hdwallet();

finding a solution again thank you everyone

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.