Skip to content

Specify maximum bech32 decode size in NIP-19 #2263

Description

@hoytech

As far as I can tell, the defacto standard is 5000, for example:

https://github.com/nbd-wtf/nostr-tools/blob/1b955bdbcb7775833930836930b44e88949101cd/nip19.ts#L24

If different implementations use different values for this, they will not be able to decode eachother's nevents/nprofiles/etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions