https://github.com/sigmagmbh/swisstronik-sdi-backend
Swisstronik Digital Identity Issuer backend sample
https://github.com/sigmagmbh/swisstronik-sdi-backend
Last synced: 3 months ago
JSON representation
Swisstronik Digital Identity Issuer backend sample
- Host: GitHub
- URL: https://github.com/sigmagmbh/swisstronik-sdi-backend
- Owner: SigmaGmbH
- Created: 2023-11-14T11:49:52.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-11T10:02:56.000Z (about 1 year ago)
- Last Synced: 2025-01-21T18:33:32.019Z (4 months ago)
- Language: TypeScript
- Size: 881 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SDI issuer backend
This repository contains sample code of usage agent plugin for Veramo `did:swtr` method.
## Running
Prerequisites:
- Running Swisstronik Network instance with enabled `did` namespace, accessible `26657` and `8545` ports
- Account on that network with enough SWTR on balanceConfiguration:
- Rename file .env.sample to .env
- Configure database via .env file:
- sqlite: `DATABASE_URL=sqlite:///absolute/path/to/data/file` or `DATABASE_URL=sqlite://relative/path/to/data/file`
- postgresql: `DATABASE_URL=postgres://username:password@hostname:port/db_name`Install all dependencies: `npm install`
Launch web-server: `npm run run:esm`