Skip to content

Commit

Permalink
doc: add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
saitofun committed Apr 28, 2024
1 parent 3ac3ef5 commit 57c38b6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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
```

0 comments on commit 57c38b6

Please sign in to comment.