问题标签 [cordenity]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
corda - 尝试使用 Corda 运行 cordenity 时出现 ClassNotFoundException
我正在尝试调用com.luxoft.blockchainlab.corda.hyperledger.indy.flow.b2b.GetDidFlowB2B
corda上的流程。但它抛出
在我尝试获取 DID 的另一个节点上。我已经把jna-4.5.1.jar
文件jre/lib
和每个节点的djvm
文件夹。但我仍然收到 CNF 异常。有人可以帮忙吗?
重现步骤
- 复制
cordentity-cordapp-0.5.0
到 PartyA 和 PartyB cordapp 目录 - 启动 indy-pool 并为每个节点创建 indy.properties 文件
- 使用在 PartyB 上启动流程
flow start com.luxoft.blockchainlab.corda.hyperledger.indy.flow.b2b.GetDidFlowB2B$Initiator authority: "O=PartyA,L=London,C=GB"
hyperledger - 使用 Indy 的密钥签署 Corda 交易
我正在使用 Cordenity,它为 Corda 区块链提供 Indy 集成。我可以使用GetDidFlowB2B
自定义流中的流检索其他节点 DID。但我无法从 Indy 检索关联的公钥,因此我可以使用 Indy 的密钥而不是使用 Corda 节点公钥签署交易。关于如何从 Cordenity 检索 Indy 密钥或如何使用 Indy 密钥签署 Corda 交易的任何帮助都会非常有帮助。