0

我阅读了 https://github.com/hyperledger/indy-sdk/blob/master/docs/getting-started/indy-walkthrough.mdhttps://github.com/hyperledger/indy-node/blob/master/ docs/source/auth_rules.md

我认为Trust AnchorENDORSER具有相同的作用,但我不知道有什么区别。

4

1 回答 1

2

从 SDK 的角度来看,Trust Anchor 等于 Endorser,这意味着 Trust Anchor 实际上是 Endorser,但在更广泛的意义上,通过查阅 Sovrin 词典,Trust Anchor 是一个类似于证书颁发者的实体(例如:政府、大学、公司 ecc..) 是权威机构。

来源来源第 64 页

实际上,在尝试使用 Java Wrapper 进行一些实现时,我在方法 buildNymRequestuildNymRequest(String submitterDid,....,String role) 中看到,如果放入 role="TRUST_ANCHOR" 实际上它将被转换为 ENDORSER NYM 交易(我使用 indyscan https://github.com/Patrik-Stas/indyscan检查交易)。您可能还想查看我在 Java 中的一些操作的实现(正在进行中)。 https://github.com/caltr98/IndyWorkings

如果您在 Trust_Anchor/Endorser 崩溃中找到了更好的解决方案,请告诉我。

于 2021-10-14T12:53:48.727 回答