aries-framework-go icon indicating copy to clipboard operation
aries-framework-go copied to clipboard

create public DID

Open gouravvemula0 opened this issue 3 years ago • 2 comments

how to create a public DID and resolve DIDDoc? is this possible in aries-framework-go?

gouravvemula0 avatar Jul 01 '21 09:07 gouravvemula0

For public DIDs: you may have to inject your own VDR implementation to aries or have to create it outside.

@gouravvemula0 to resolve public DIDs use [htp-resolver-url](https://github.com/hyperledger/aries-framework-go/blob/main/cmd/aries-agent-rest/startcmd/start.go#L96-L103) aries opts. Sample can be found here

sudeshrshetty avatar Jul 04 '21 11:07 sudeshrshetty

@sudeshrshetty I was looking into this too, but it isn't completly clear to me. I'm running the open-api-demo, so if I understand well I only need to pass the variable HTTP_DID_RESOLVER or a parameter --http-resolver-url with peer@http://dev.greenlight.bcovrin.vonx.io and I would be able to create a public DID, a schema and a credentials definition in Sovrin using this method? or do I need to create an indyVDR class and implement the VDR interface? how do I define the seed? do I need to pass the genesis block somewhere?

afrancoc2000 avatar Sep 06 '21 18:09 afrancoc2000