Skip to content

Nostrum diverges from nip46 specs in sign_event #22

@riccardobl

Description

@riccardobl

in sign_event specs
sign_event [<{kind, content, tags, created_at}>]

nip46 specifies params to be

positional array of string parameters.

this points to the correct way to encode the event being [JSON.stringify({kind,content,tags,created_at})]
nostrum (built from master branch) expects it to be passed as json object [{kind,content,tags,created_at}] instead

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