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

feat: add did:ebsi provider Veramo plugin #161

Merged
merged 42 commits into from
Apr 7, 2023

Conversation

pseudobun
Copy link
Member

Add Veramo plugin for did:ebsi DID method for legal entities. It enables users:

  • creating and onboarding a DID (A bearer token is required for onboarding which can be claimed here),
  • resolving a did:ebsi DID.

martines3000 and others added 20 commits March 20, 2023 15:54
* chore: removed workflows, website

* chore: update lock file and some other fixes
* feat: esm ssi-snap-types

* feat: esm connector

* fix: add readme to output

* chore: update connector deps

* chore: lintstaged.cjs

* chore: more lintstaged.cjs

* chore: connector lintstaged.cjs

* feat: esm vcmanager and update configs

* feat: esm utils

* feat: update tests

* chore: deps

* fix: build dapp

* fix: docs

* fix: fixes config issues

* fix: fixes config issues

* fix: resolve last issues
* feat: new dapp initial commit

* chore: add basePath

* feat: add Dockerfile and workflows

* chore: add comments to nginx.conf

* fix: update some configuration

* feat: new dapp

* fix: fixes linting issues

* feat: test

* feat: tailwind config

* feat: basic toggle theme component

* feat: welcome page

* feat: create initial navbar

* fix: change sizes on mobile

* feat: add footer for mobile view

* fix: changed landing page font sizes

* fix: fixes lintstaged

* chore: add team member (#106)

* Add team member

* chore: fix lint issue

Co-authored-by: martines3000 <[email protected]>

* fix: make some components more reusable

* feat: add connect Flask functionality

* feat: add dashboard card and connect spinner

* feat: query VCs

* fix: changed landing page

* feat: initial table

* feat: finish unstyled table

* fix: change VC id to hash of VC

* feat: add pagination, filter and select to table

* feat: data_store filter

* fix: change btn size

* feat: implement control bar

* feat: table design

* feat: table tooltips

* feat: finish table

* feat: create createVP page

* feat: view VC (JSON tab)

* feat: vc view

* fix: vc view

* feat: finish VC card

* feat: createVP page

* fix: fix formated tab banner design

* feat: created InputField & ToggleSwitch

* feat: added Delete and ModifyDataStore modals

* fix: add support for disabled VC stores

* feat: importVC modal & DropdownMultiselect comp

* fix: typo

* fix: change address button color

* fix: changed some icons and paddings

* feat: add tableCardView

* feat: new VC view

* feat: finished VC card

* chore: update readme (#110)

* chore: update veramo (#109)

* chore: update veramo and fix issues

* chore: skip Ceramic tests until fixed

* feat: return Result from onRpcRequest

* chore: uncomment tests and use it.skip instead

* feat: split utils into a seperate package

* chore: disable ceramic tests (#113)

* chore: disable ceramic tests until fixed

* chore: update deps (#112)

* chore: update deps and add package.json sort

* feat: added to VCCard

* fix: update Account popover

* feat: tooltip

* fix: add margin to tooltip

* feat: use new tooltip & add VCs view icons

* fix: make card view default

* fix: visual fixes

* feat: implement snap

* fix: vc selection bug

* feat: finish createVP page

* fix: change some visual bugs

* feat: add MenuPopover

* fix: remove cancle button from vpmodal

* chore: update pnpm-lock.yaml

* chore: remove eslint-disable for navigator.clipboard

* chore: remove useUrlQuery hook

* chore: small fix

* feat: add prettier improvements

* fix: use npm version of snap

* fix: remove unnecessary files & fix imports

* fix: replace classNames with clsx

* feat: update eslint rules

* fix: use public

* feat: fix fonts and images

* fix: image sizes

* fix: use zustand shallow

* fix: fix linting errors

* fix: saveVC

* feat: add toast & spinners

* fix: remove uneccessary vcStore calls

* fix: minor bugs

* fix: minor bugs

* fix: duplicate imports

* fix: bugfixes

* fix: build & linting issues

* chore: sonarcloud ignore test data

* chore: prettier

* fix: veramoUtils merge bug

* fix: fxies onRpcRequests

* fix: fixes some types, adds jsdoc comments

* feat: finish updating connector

* chore: remove ethereum.on()

* chore: undo unnecessary changes

* fix: undo broken vcmanager test:ci

* chore: update package.json

* fix: exclude website from build, lint, test steps

* fix: ignore website in CI

* feat: home background

* fix: style improvements

* fix: update tests, some jsdoc comments, errors

* fix: fix assertion issue

* fix: fixes tests

* chore: comment out code

* fix: fixes build issues and adds tsup

* fix: change tailwind colors

* feat: start working on dark mode

* fix: fix colors

* chore: add next/Head

* fix: fixes issue with method dropdown

* chore: todo and changes to toastStore

* feat: add prettier tailwindcss plugin

* fix: fixes lintstaged config for dapp

* chore: removes whitespace in classNames

* chore: remove unnecessary then

* chore: refactor navbar

* chore: update button

* fix: address popover overflow

* chore: refactor inputField

* chore: remove TODO

* fix: reuse navConnect

* chore: remove white space

* fix: update popover

* fix: use padding in home page

* chore: update elsintrc.cjs for dapp

* fix: rename and update gateways to providers

* chore: refactor react imports

* fix: fixes compiler warning

* fix: colors & style

* feat: improved connection handler

* fix: fix some styles

* feat: fix VC view

* fix: saveVC join results

* fix: start working on dark mode

* feat: dark mode

* fix: shadow

* feat: esm ssi-snap-types

* feat: esm connector

* fix: add readme to output

* fix: small fixes

* chore: update connector deps

* chore: lintstaged.cjs

* chore: more lintstaged.cjs

* chore: connector lintstaged.cjs

* fix: build

* feat: esm vcmanager and update configs

* feat: esm utils

* feat: update tests

* chore: deps

* fix: build dapp

* fix: docs

* fix: fixes config issues

* fix: fixes config issues

* fix: resolve last issues

* fix: add missing changeIsConnecting(false)

* fix: add missing import

* chore: remove double whitespace

* fix: fixed JIT & theme

* feat: esm ssi-snap-types

* feat: esm connector

* fix: add readme to output

* chore: update connector deps

* chore: lintstaged.cjs

* chore: more lintstaged.cjs

* chore: connector lintstaged.cjs

* feat: esm vcmanager and update configs

* feat: esm utils

* feat: update tests

* chore: deps

* fix: build dapp

* fix: docs

* fix: fixes config issues

* fix: fixes config issues

* fix: resolve last issues

* fix: fixes tests

* fix: fixes lintstagedrc

* chore: new lock file

* chore: fix issues

* chore: update tailwind.config.cjs

* fix: chanse base path to ssi-snap

* chore: fix lock file

* chore: add snap manifest

---------

Co-authored-by: Martin Domajnko <[email protected]>
Co-authored-by: martines3000 <[email protected]>
Signed-off-by: Urban Vidovič <[email protected]>
* feat: update types

* feat: add createVC RPC method

* fix: add bip44CoinTypeNode

* test: add params tests

* chore: fix tests

* feat: add createVC to connector

* fix: wrong return type

* fix: pr feedback

* chore: move queryVCsRequestResult[] type in test

* fix: change it.todo in tests

* chore: update remaining snaps packages to 0.28

* fix: add patch for snaps-types

---------

Co-authored-by: martines3000 <[email protected]>
* chore: update dev deps

* fix: fixes lockfile

* fix: fixes lockfile

* chore: update nodejs and pnpm

* chore: remove patch

* chore: add back snap types patch

* fix: should fix CI workflow

* fix: set pnpm version in main CI
Signed-off-by: Urban Vidovič <[email protected]>
Signed-off-by: Urban Vidovič <[email protected]>
@pseudobun pseudobun linked an issue Apr 5, 2023 that may be closed by this pull request
@pseudobun pseudobun changed the base branch from master to develop April 5, 2023 11:46
Copy link
Member

@andyv09 andyv09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also update types and connector for switchDidMethod function and add some tests in snap

libs/utils/src/result.ts Outdated Show resolved Hide resolved
packages/snap/src/did/ebsi/ebsiDidProvider.ts Show resolved Hide resolved
packages/snap/src/did/ebsi/ebsiDidProvider.ts Outdated Show resolved Hide resolved
packages/snap/src/index.ts Show resolved Hide resolved
packages/snap/src/utils/didUtils.ts Outdated Show resolved Hide resolved
packages/snap/src/utils/ebsiUtils.ts Outdated Show resolved Hide resolved
Signed-off-by: Urban Vidovič <[email protected]>
@pseudobun pseudobun requested a review from andyv09 April 5, 2023 14:57
@pseudobun pseudobun self-assigned this Apr 5, 2023
@martines3000 martines3000 self-requested a review April 7, 2023 14:41
Copy link
Member

@martines3000 martines3000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳 🎉 Great work!

@martines3000 martines3000 merged commit a4bc1bb into develop Apr 7, 2023
@martines3000 martines3000 deleted the feat/did-ebsi-support branch April 7, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

did:ebsi
3 participants