Skip to content

Commit

Permalink
Add dummy relying party (#19)
Browse files Browse the repository at this point in the history
# Motivation

Add a new project to the SDK: Dummy Relying party.

This project should help issuer install a relying party to test the e2e
flow.

In this PR, I add the canister with the relying party.

In later PRs, we can style it better and expose the wasm from the Github
actions on releases so that developers can install it the same way they
install Internet Identity.

# Changes

* Create a Cargo project in the root.
* Create a new canister within `dummy-relying-party` which is based on
the [custom assets
example](https://github.com/dfinity/response-verification/tree/main/examples/http-certification/custom-assets).
* Add frontend assets to perform credential requests based on user
input. (See video for more details)

# Tests

I tested it with the Attendance project both in local replica and in
mainnet.

# Todos

- [ ] Add entry to changelog (if necessary).
  • Loading branch information
lmuntaner authored Jun 3, 2024
1 parent 629139e commit bbcf520
Show file tree
Hide file tree
Showing 17 changed files with 2,745 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,17 @@ dist
# Editor settings
.vscode
.idea

# dfx temporary files
.dfx/
canister_ids.json
.env

# built canisters
*.wasm
*.wasm.gz

# Generated by Cargo
# will have compiled files and executables
debug/
target/
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Changes in the upcoming versions.

## New projects

- Dummy relying party.

## Breaking Changes

- Change the type of `CredentialData.credentialSubject` to `Principal`.
Expand Down
Loading

0 comments on commit bbcf520

Please sign in to comment.