Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
奇偶校验网络的ethereumjs tx参数_Ethereum_Parity - Fatal编程技术网

奇偶校验网络的ethereumjs tx参数

奇偶校验网络的ethereumjs tx参数,ethereum,parity,Ethereum,Parity,我使用的是以太坊JS tx,下面的例子是rospten测试网: const EthereumTx = require('ethereumjs-tx').Transaction; const rawTx = { "from": sender, "nonce": "0x" + count.toString(16), "gasPrice": "0x003B9ACA00", "gasLimit": "0x2

我使用的是以太坊JS tx,下面的例子是rospten测试网:

const EthereumTx = require('ethereumjs-tx').Transaction;

const rawTx = {
            "from": sender,
            "nonce": "0x" + count.toString(16),
            "gasPrice": "0x003B9ACA00",
            "gasLimit": "0x250CA",
            "to": "0x3f84d0ca3529fbe8c2b...",
            "value": "0x0",
            "data": data,
            "chainId": 0x03
        };
const tx = new EthereumTx(rawTx, {'chain':'ropsten'});
对于奇偶校验专用网,我必须传递哪些参数

  • “chainId”:0x03
  • {'chain':'ropsten'}