Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kompendium-ano/factom-did-haskell
Haskell library for W3C DIDs on Factom
https://github.com/kompendium-ano/factom-did-haskell
did factom
Last synced: about 1 month ago
JSON representation
Haskell library for W3C DIDs on Factom
- Host: GitHub
- URL: https://github.com/kompendium-ano/factom-did-haskell
- Owner: kompendium-ano
- Created: 2019-12-05T11:47:28.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-15T18:56:43.000Z (over 3 years ago)
- Last Synced: 2023-03-05T11:12:00.269Z (almost 2 years ago)
- Topics: did, factom
- Language: Haskell
- Homepage:
- Size: 33.2 KB
- Stars: 6
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Factom DiDs implemented in Haskell
![build](https://github.com/kompendium-ano/factom-did-haskell/workflows/build/badge.svg)- `factom-did-client` - library provides functionality for DIDs creation
- `factom-did-resolver` - library for re-constructing the effective DID Document
- `factom-did-demo` - demo application that uses above librariesComplete specification available here https://github.com/bi-foundation/FIS/blob/feature/DID/FIS/DID.md , libraries trying to be aligned with W3C standard represented [here](https://w3c.github.io/did-core/).
## Usage
Creating new DiD document
```haskell
import qualified DID.Types as DT...
d <- Factom.initDID
dKey <- Factom.initKey "my-alias" DT.ECDSA
mKey <- Factom.initMKey "mm-my-alias" DT.RSA-- add keys to did as function composition
d' <- (attachKey d dKey) . (attachManagementKey d mKey)```