I'm currently playing with
bitcoinjs (https://bitcoinjs.org/) and I'm creating offline transactions that I broadcast over the network after.
I've successfully create my first transaction using this : https://medium.com/@orweinberger/how-to-create-a-raw-transaction-using-bitcoinjs-lib-1347a502a3a
But it seems my transaction is stuck since I haven't put enough fee on it to get it mined.
How using a
var tx = new bitcoin.TransactionBuilder(); can I set the fee to a certain amount ? Is this calculated using a default value ?
Thank you for your help !