mirror of
https://github.com/mii443/did-web-on-gh-pages.git
synced 2025-12-03 11:08:20 +00:00
9c00dace71d641d2da808b470665fa8aed10e953
did:web on github pages
Usage
Generate and Publish your DID Document
- Fork and Clone this repository
- Setup your config file (
./src/config.json)
{
"DOMAIN": <YOUR-GITHUB-PAGES-DOMAIN>,
"GH_PROJECT": "did-web-on-gh-pages"
}
- Generate DID Document
npm install
npm run generate
- Publish your github pages with DID Document
- commit and push the generated DID Document.
git add ./docs/did.json git commit -m "generate did document" git push - Setup github pages on GitHub so that publishes
docsdirectory of main branch in this repository. - Check Your Github Pages are deployed.
- Resolve generated DID:web in Universal Resolver
DEMO: generate jwt and verify with did-jwt
Description
Languages
JavaScript
100%