Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/402.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
Javascript 如何在testnet中使用Waves事务库?_Javascript_Blockchain_Wavesplatform - Fatal编程技术网

Javascript 如何在testnet中使用Waves事务库?

Javascript 如何在testnet中使用Waves事务库?,javascript,blockchain,wavesplatform,Javascript,Blockchain,Wavesplatform,我正在使用Waves事务库,我需要使用javascript进行一些事务测试,我想知道如何在testnet中使用它?您需要两件事: 首先,某些事务将chainId作为参数。你需要通过“T”。例如: const burnTx = burn({assetId:'someId', amount:1000, chainId:'T'}) 第二,将tx发送到testnet节点。例如: await broadcast(burnTx, ' https://testnodes.wavesnodes.com')

我正在使用Waves事务库,我需要使用javascript进行一些事务测试,我想知道如何在testnet中使用它?

您需要两件事:

首先,某些事务将chainId作为参数。你需要通过“T”。例如:

const burnTx = burn({assetId:'someId', amount:1000, chainId:'T'})
第二,将tx发送到testnet节点。例如:

await broadcast(burnTx, ' https://testnodes.wavesnodes.com')

你需要两件事:

首先,某些事务将chainId作为参数。你需要通过“T”。例如:

const burnTx = burn({assetId:'someId', amount:1000, chainId:'T'})
第二,将tx发送到testnet节点。例如:

await broadcast(burnTx, ' https://testnodes.wavesnodes.com')