QTUM Tutorial: Building a Contract Calling Raw Transaction
Published in
1 min readNov 29, 2018
In this video tutorial you will learn the following:
- The basic differences in Ethereum, Bitcoin, and Qtum raw transactions
- How to make a basic Qtum raw transaction
- How to interpret a contract calling raw transaction
- Building a contract calling raw transaction from scratch
- Interact with a contract with your raw transaction
(the video is hosted on YouTube which does not currently comply with DNT, click ‘show embed’ to view video here. Otherwise watch on YouTube at https://youtu.be/ASb8NS_iAX0 )
Here is the command I used to create the contract calling raw transaction:
qcli createrawtransaction "[{\"txid\":\"$TXID\",\"vout\":0}]" "{\"$RET_ADDR\":19999.83906400,\"contract\":{\"contractAddress\":\"$ADDR\",\"data\":\"$DATA\", \"gasLimit\":250000, \"gasPrice\":0.00000040, \"amount\":0}}"
Here are the links described in the video: