Skip to content

Commit

Permalink
Add decentriQubeMediator into the example of AgentProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioPinheiro committed Feb 22, 2024
1 parent 7dafab3 commit fd3cdac
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions did-example/shared/src/main/scala/fmgp/did/AgentProvider.scala
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ object AgentProvider {
AgentWithShortName("pat", pat),
AgentWithShortName("victor", victor),
AgentWithShortName("fmgpMediator", fmgpMediator),
AgentWithShortName("decentriQubeMediator", decentriQubeMediator),
AgentWithShortName("iohkOldMediatorBeta", iohkOldMediatorBeta),
AgentWithShortName("iohkOldMediatorSitHttp", iohkOldMediatorSitHttp),
AgentWithShortName("iohkMediatorSitHttpWs", iohkMediatorSitHttpWs),
Expand Down Expand Up @@ -282,6 +283,17 @@ object AgentProvider {
)
)

val decentriQubeMediator = DIDPeer2.makeAgent(
Seq(
keyAgreement("Z6D8LduZgZ6LnrOHPrMTS6uU2u5Btsrk1SGs4fn8M7c", "Sr4SkIskjN_VdKTn0zkjYbhGTWArdUNE4j_DmUpnQGw"),
keyAuthentication("INXCnxFEl0atLIIQYruHzGd5sUivMRyQOzu87qVerug", "MBjnXZxkMcoQVVL21hahWAw43RuAG-i64ipbeKKqwoA")
),
Seq(
DIDPeerServiceEncoded.fromEndpoint("https://m.fmgp.app"),
DIDPeerServiceEncoded.fromEndpoint("wss://m.fmgp.app/ws")
)
)

val iohkOldMediatorBeta = DIDPeer2.makeAgent(
Seq(
keyAgreement("Z6D8LduZgZ6LnrOHPrMTS6uU2u5Btsrk1SGs4fn8M7c", "Sr4SkIskjN_VdKTn0zkjYbhGTWArdUNE4j_DmUpnQGw"),
Expand Down

0 comments on commit fd3cdac

Please sign in to comment.