New answers tagged

0

I found a solution I installed epirus wrapper, then I generated java package with command epirus solidity generate -a=/root/my_json.abi -o=/root/ -p=my_java (before I changed extension of my file from json to abi). After getting this package, I could use smart contract object with his methods from json file. Also, after installation of epirus and before ...


3

A raw transaction is just all the transaction parameters encoded in the RLP format. A raw transaction consists of (in this order): Nonce; Gas price; Gas limit; To address; Value; Data. You don't need the private key of the sender: to get the raw transaction, you can simply encode it using RLP(Nonce, Gas Price, Gas limit, To, Value, Data). Here's an example ...


1

There is an undocumented eth_getRawTransactionByHash method now in geth nodes. Get raw transaction from hash After getting the raw transaction, it can be directly replayed using eth_sendRawTransaction as long as all the parameters are the same according to EIP-155 (https://eips.ethereum.org/EIPS/eip-155) (nonce, gasprice, startgas, to, value, data, chainid, ...


Top 50 recent answers are included