Skip to content

Autogenerate "id" for NIP46.Request objects #137

@kuiperanon

Description

@kuiperanon

It would be nice if there was a way to construct a NIP46.Request object with a constructor like: new Request(method, params) and have the id randomly autogenerated.

NOTE: It seems from my testing this generated id must be a hex string, or else it won't work with nsec.app. Not sure if this is true but it seems to be the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions