Skip to content

Make the "chainPath" optional in Token file? #7

@coder5876

Description

@coder5876

Right now the getProfileFromTokens() function requires there to be a chainPath in the token and it also requires the user to pass in a master public key to derive a child key using the chainPath. I feel like it should be possible for the user to use a simpler structure where you have only a single public key that doesn't need the existence of an HD tree.

A simple addition is to have the logic of getProfileFromTokens() check for the existence of chainPath and if it's not there it skips that verification step. If there is interest I can do a pull request.

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