A complete implementation demonstrating the TBDex protocol flow using our TypeScript npm package.
This project showcases a full TBDex flow implementation using our TBDex WASM sdk. It demonstrates the interaction between a client and a PFI endpoint using the TBDex protocol.
- Node.js (v14 or higher)
- npm (v6 or higher)
- Git
- TBDex TypeScript package
- A running PFI endpoint
- Clone the PFI example repository:
git clone https://github.com/TBD54566975/tbdex-rs.git
cd tbdex-rs/examples/hosted-wallet-ts
- Install dependencies and start the PFI server:
npm install
npm run start:pfi
- Clone this repository:
git clone https://github.com/TBD54566975/wasm-exemplar
cd wasm-exemplar
- Install dependencies:
npm install
- Start the development server:
npm run dev
The application comes pre-configured with default Verifiable Credentials (VC) and Decentralized Identifier (DID) for testing purposes.
- Navigate to the application in your browser
- Click the "Execute Happy Path Flow" button to initiate a complete TBDex flow
This project demonstrates:
- WASM integration with TBDex
- Protocol message flow
- PFI endpoint interaction
- VC and DID handling
Please read our Contributing Guidelines before submitting pull requests.