0.3.9 • Published 4 years ago

@catalyst-net-js/tx v0.3.9

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Catalyst-js/tx

Discord Twitter Follow

Status: Active development. This repository is being actively worked on, mostly in feature branches.

Install

npm install @catalyst-net-js/tx

Usage

import Tx from '@catalyst-net-js/tx'
const privateKey = Buffer.from(
  'e331b6d69882b4cb4ea581d88e0b604039a3de5967688d3dcffdd2270c0fd109',
  'hex',
)

const txParams = {
  nonce: '0x00',
  gasPrice: '0x09184e72a000',
  gasLimit: '0x2710',
  to: '0x0000000000000000000000000000000000000000',
  value: '0x00',
  data: '0x7f7465737432000000000000000000000000000000000000000000000000000000600057',
}

const tx = new Tx(txParams)
tx.sign(privateKey)
const serializedTx = tx.serialize()

License

GPLv3

0.3.9

4 years ago

0.3.7

4 years ago

0.3.6

4 years ago

0.3.3

4 years ago

0.1.1-alpha.11

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.1.1-alpha.9

4 years ago

0.2.1

4 years ago

0.1.1-alpha.7

4 years ago

0.2.0

4 years ago

0.1.1-alpha.6

4 years ago

0.1.1-alpha.5

4 years ago

0.1.1-alpha.3

4 years ago

0.1.1-alpha.1

4 years ago

0.0.10-alpha.6

4 years ago

0.1.0

4 years ago

0.0.10-alpha.5

4 years ago

0.0.10-alpha.2

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago