Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nostrum diverges from nip46 specs in sign_event #22

Open
riccardobl opened this issue Aug 21, 2024 · 0 comments
Open

Nostrum diverges from nip46 specs in sign_event #22

riccardobl opened this issue Aug 21, 2024 · 0 comments

Comments

@riccardobl
Copy link

riccardobl commented Aug 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant