Skip to content

Demo server #4

Description

@glumb

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}`)
    }
  },
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions