Skip to content

[Question] What's the specification of XpubDerivable? #7

Closed

Description

@acgxv

Hi, I'm currently learning this library, but there are no documents or code comments available.

I would like to know how XpubDerivable str has been defined because it doesn't seem like a common one.

This is the format that I have frequently encountered:

[ccf488ef/m/84'/0'/0']xpub6DA9Gjn12MVZqNV96tL7dZDzzbg6BxYH4JJQmPJRKHASamJEe1X9NSKW8vgjhsevrP3qVbed2BjQcE4Qfk54bgsxUjMerN7iUTQxkXREwiu/*

Could you please explain how this is generated?

let s = "[643a7adc/86h/1h/0h]tpubDCNiWHaiSkgnQjuhsg9kjwaUzaxQjUcmhagvYzqQ3TYJTgFGJstVaqnu4yhtFktBhCVFmBNLQ5sN53qKzZbMksm3XEyGJsEhQPfVZdWmTE2/<0;1>/*";

E.G. Why

  • no m
  • use h to replace '
  • there is a <0;1> instead of a single number

Perhaps this question may seem silly, but as a newcomer, and there isn't too much material that I can check. I hope you don't mind me submitting this as an issue.

Activity

  1. locked and limited conversation to collaborators on Dec 2, 2023
  2. converted this issue into a discussion #8 on Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions