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

guide(jwt): Create a guide to show JWT signing with Arweave keypairs and the verification of these JWT #176

Open
jim-toth opened this issue Feb 1, 2023 · 0 comments

Comments

@jim-toth
Copy link
Contributor

jim-toth commented Feb 1, 2023

It might be worth using the jsonwebtoken npm library to show verification is standard but maybe also include a way to verify it via Arweave.crypto

Here's an example of how to accomplish JWT creation and signing using an arbundles compatible signer in use in the art by city dapp: https://gitlab.com/art-by-city/art-by-city/-/blob/master/plugins/artbycity/index.ts#L79

and signer: https://gitlab.com/art-by-city/art-by-city/-/blob/master/app/infra/arweave/signer/arweaveWalletSigner.ts

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