简体   繁体   English

Web3J quorum RawTransaction

[英]Web3J quorum RawTransaction

I want to create a RawTransaction using quorum but it needs Credential object in the constructor. 我想使用仲裁创建RawTransaction但它需要构造函数中的Credential对象。 What's the equivalent of Credential in RawTransaction ? RawTransactionCredential的等价物是什么?

Unfortunately this capability is not currently supported in Quorum if you require transaction privacy. 遗憾的是,如果您需要交易隐私,Quorum目前不支持此功能。 If you don't want transaction privacy you can the standard web3j library. 如果您不想要交易隐私,您可以使用标准的web3j库。

For background as to where this is currently, please refer to the discussion on the following pull request https://github.com/jpmorganchase/quorum/pull/146 . 有关当前位置的背景信息,请参阅以下拉取请求https://github.com/jpmorganchase/quorum/pull/146上的讨论。

you can perform RawTransaction either by creating new user and with account key or by coinbase account. 您可以通过创建新用户和帐户密钥或coinbase帐户来执行RawTransaction for quorum, first of all, you need to set up nodes in the network. 对于仲裁,首先,您需要在网络中设置节点。 the way you can setup node(n) in the network is given in this repo. 此repo中给出了在网络中设置node(n)的方式。 https://github.com/ConsenSys/quorum-docker-Nnodes https://github.com/ConsenSys/quorum-docker-Nnodes

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM