官方文档给出的
//create a signed transaction Transaction tx = Transaction.createContractTransaction(BigInteger.valueOf(nonce), this.config.getQuota(), this.currentHeight + 88, 0, chainId, value, this.config.getCode());
tx.sign(this.config.getPrivateKey(), false, false);
//instantiate a Nervosj and send the transaction
Nervosj service = Nervosj.build(new HttpService(“127.0.0.1”));
AppSendTransaction sendTransaction = service.appSendRawTransaction(tx).send();
//get hash of the transaction
String hash = sendTransaction.getHash();