I set up a testserver on http://iota.glumb.de:14260. Fee per tx is 2.
const idpc = new idpow.Client({
maxFeePerTransaction: 2,
provider: 'http://iota.glumb.de:14260',
})
const transfers = [{
address: 'LABNGFFMNNWJRQ9WBAZGYJUPKQIZZGSOVHL9ZCBOIHDNLWPWPTDBMR9TUENBENHFPISOAQBZWORGCWIKJ',
value: 0,
tag: 'TEST',
}]
idpc.sendTransfer(
SEED,
3,
14,
transfers,
(e, d) => {
if (e) {
console.warn(e)
} else {
console.log(`bundle hash ${d[0].bundle}`)
}
},
)
I set up a testserver on
http://iota.glumb.de:14260. Fee per tx is 2.