-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Francisco Javier Ribo Labrador <[email protected]>
- Loading branch information
1 parent
bd3d946
commit 0a8aba1
Showing
59 changed files
with
12,306 additions
and
6,591 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
.yarn/install-state.gz | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# local env files | ||
.env*.local | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<p align="center"> | ||
<a href="https://www.hyperledger.org/projects/identus"> | ||
<img src="https://cdn.jsdelivr.net/gh/hyperledger/[email protected]/resources/images/hyperledger-identus.svg" alt="identus-logo" width="513px" height="99px" /> | ||
</a> | ||
<br> | ||
<i> <font size="18">SDJWT Workshop Typescript</font> </i> | ||
<br> | ||
</p> | ||
<hr> | ||
|
||
# Introduction | ||
This workshop will show you how to Issue and Verify a SD-JWT Credential and Presentation using connectionless flows, meaming, you won't need to establish a didcomm connection for issuance and verification flows. | ||
|
||
### **What Can I expect from this workshop?** | ||
|
||
You will learn everything that is needed to receive an Issued SD-JWT credential from the Cloud Agent and then use this credential to respond to a Presentation Submission request. | ||
|
||
### **What are connectionless flows?** | ||
|
||
In this presentation we won't be using [DIDComm Connections](https://hyperledger.github.io/identus-docs/docs/concepts/multi-tenancy#didcomm-connections) but instead we will generate OOB codes for Issuance and Verification. | ||
|
||
You will then receive and process this OOB in your Edge Agent and run the corresponding flow: | ||
1. Create the Credential Request from the Credential Offer | ||
2. Create the Presentation Submission from the Verification Request | ||
|
||
### Components | ||
All documentation on how to deploy each service is inside the workshop just open the project and copy the commands: | ||
|
||
1. Cloud Agent | ||
2. Mediator | ||
3. Typescript SDK | ||
|
||
# Workshop | ||
|
||
In order to run this workshop you must run the following commands: | ||
|
||
```bash | ||
git clone [email protected]:hyperledger/identus-edge-agent-sdk-ts.git | ||
``` | ||
|
||
Then, move to the demo directory in ./demos/next-sdjwt-workshop | ||
|
||
```bash | ||
cd demos/next-sdjwt-workshop | ||
npm i | ||
npm run dev | ||
``` | ||
|
||
**This create a site on http://localhost:3000, open the link and continue with the on screen instructions to continue the workshop** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
webpack: (config, { isServer }) => { | ||
if (!isServer) { | ||
config.resolve.fallback = { | ||
fs: false, | ||
crypto: false, | ||
stream: false, | ||
path: false, | ||
}; | ||
} | ||
return config; | ||
}, | ||
} | ||
|
||
module.exports = nextConfig |
Oops, something went wrong.