val signerInput = Ethereum.SigningInput.newBuilder().apply {
chainId = ByteString.copyFrom(BigInteger("01").toByteArray())
gasPrice = BigInteger("d693a400", 16).toByteString() // decimal 3600000000
gasLimit = BigInteger("5208", 16).toByteString() // decimal 21000
toAddress = dummyReceiverAddress
transaction = Ethereum.Transaction.newBuilder().apply {
transfer = Ethereum.Transaction.Transfer.newBuilder().apply {
amount = BigInteger("0348bca5a16000", 16).toByteString()
privateKey = ByteString.copyFrom(secretPrivateKey.data())
val output = AnySigner.sign(signerInput, CoinType.ETHEREUM, Ethereum.SigningOutput.parser())
println("Signed transaction: \n${signerOutput.encoded.toByteArray().toHexString()}")