https://github.com/machinefi/ioconnect-go
https://github.com/machinefi/ioconnect-go
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/machinefi/ioconnect-go
- Owner: machinefi
- Created: 2024-04-16T19:02:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-23T06:54:20.000Z (about 2 years ago)
- Last Synced: 2026-01-12T01:35:01.203Z (6 months ago)
- Language: C
- Size: 4.09 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ioconnect-go
* wrap c library [ioConnect](https://github.com/machinefi/ioConnect)
* command line tool `didctl` for DID util
* did verifiable credential token service `srv-did-vc`
[srv-did-vc docker registry](https://github.com/machinefi/ioconnect-go/pkgs/container/ioconnect-go)
## run container
```shell
docker run --name srv-did-vc -d ghcr.io/machinefi/ioconnect-go:main
```
## exchange vc token by client DID
```shell
curl -X POST -d '{"clientID":"did:io:0x637e7a6d4ff1da58d17ede9785c21d7837bec429"}' http://127.0.0.1:9999/issue
```
## verify vc token and retrieve client DID
```shell
$ curl -X POST -d '{"token":"..."}' http://127.0.0.1:9999/verify
```