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

docs: adding new demo for TS -> node #340

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion demos/next-oidc/src/components/OOB.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const OOB: React.FC<{ agent: SDK.Agent, pluto: SDK.Domain.Pluto; }> = pro

return <>
<h1 className="mb-4 text-lg font-extrabold tracking-tight leading-none text-gray-900 dark:text-white">
Accept OOB (Connections / Presentatios)
Accept OOB (Connections / Presentations)
</h1>
<p className="mb-4 text-md text-gray-900 dark:text-white">This screen can help you establish a connection with anothe entity, wallet or agent. But also it allows accepting an out of band verification request, when a verifier is asking u to prove him something without a pre-existing connection, what we call "Connectionless presentation".</p>
<AgentRequire text="Agent required You cannot process an OOB invitation while the agent is not running.">
Expand Down
2 changes: 1 addition & 1 deletion demos/next/src/components/OOB.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const OOB: React.FC<{ agent: SDK.Agent, pluto: SDK.Domain.Pluto; }> = pro

return <>
<h1 className="mb-4 text-lg font-extrabold tracking-tight leading-none text-gray-900 dark:text-white">
Accept OOB (Connections / Presentatios)
Accept OOB (Connections / Presentations)
</h1>
<p className="mb-4 text-md text-gray-900 dark:text-white">This screen can help you establish a connection with anothe entity, wallet or agent. But also it allows accepting an out of band verification request, when a verifier is asking u to prove him something without a pre-existing connection, what we call "Connectionless presentation".</p>
<AgentRequire text="Agent required You cannot process an OOB invitation while the agent is not running.">
Expand Down
21 changes: 21 additions & 0 deletions demos/node/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# TS-Node Demo

A simple CLI app to demonstrate SDK capabilities.

Purposefully designed to keep the app framework as minimal as possible,
so the focus can be on the SDK integration.


## Commands
- `npm run build` - transpile the typescript into ./build folder
- `npm start` - run the built code in node
- `npm run dev` - run the `build` and `start` commands together

## Structure
Noteworthy files and directories are:

- `./src` - Typescript source code
- `./src/cli` - framework
- `./src/cli/routing.ts` - default menu structure
- `./src/cli/state.ts` - define shareable variables
- `./src/sdkFns` - SDK integration code
Loading
Loading