* Remember to clear your batch and keep the house clean!
await receiverEtherspotUser.clearGatewayBatch();
* Next, commit the Payment Channel. The
* batchCommitP2PPaymentChannel takes an object with two
* - hash: the previously created Payment channel hash
* - - true: the exchange amount is transferred to the p2pDepositAddress.
* - - false: the exchange amount is transferred to the accountAddress
await receiverEtherspotUser.batchCommitP2PPaymentChannel({
deposit: true, // See notes above
* Next, we estimate the cost of the transaction...
await receiverEtherspotUser
* And finally we submit this to the ETherspot Gateway.
await receiverEtherspotUser