Socket
Socket
Sign inDemoInstall

@ethereumjs/tx

Package Overview
Dependencies
Maintainers
6
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethereumjs/tx - npm Package Compare versions

Comparing version 3.0.0-beta.2 to 3.0.0-rc.1

8

CHANGELOG.md

@@ -9,4 +9,12 @@ # Changelog

## 3.0.0-rc.1 - 2020-11-19
This is the first release candidate towards a final library release, see [beta.2](https://github.com/ethereumjs/ethereumjs-vm/releases/tag/%40ethereumjs%2Ftx%403.0.0-beta.2) and especially [beta.1](https://github.com/ethereumjs/ethereumjs-vm/releases/tag/%40ethereumjs%2Ftx%403.0.0-beta.1) release notes for an overview on the full changes since the last publicly released version.
- Dropped `ethereumjs-testing` dev dependency, PR [#953](https://github.com/ethereumjs/ethereumjs-vm/pull/953)
## 3.0.0-beta.2 - 2020-11-12
This is the second beta release towards a final library release, see [beta.1 release notes](https://github.com/ethereumjs/ethereumjs-vm/releases/tag/%40ethereumjs%2Ftx%403.0.0-beta.1) for an overview on the full changes since the last publicly released version.
- Added `freeze` option to allow for transaction freeze deactivation (e.g. to allow for subclassing tx and adding additional parameters), see PR [#941](https://github.com/ethereumjs/ethereumjs-vm/pull/941)

@@ -13,0 +21,0 @@ - **Breaking:** Reworked constructor to take in data as a `TxData` typed dictionary instead of single values, the `Tx.fromTxData()` factory method becomes an alias for the constructor with this change, see PR [#944](https://github.com/ethereumjs/ethereumjs-vm/pull/944)

101

package.json
{
"name": "@ethereumjs/tx",
"version": "3.0.0-beta.2",
"version": "3.0.0-rc.1",
"description": "A simple module for creating, manipulating and signing Ethereum transactions",

@@ -34,3 +34,3 @@ "main": "dist/index.js",

"dependencies": {
"@ethereumjs/common": "2.0.0-beta.2",
"@ethereumjs/common": "2.0.0-rc.1",
"ethereumjs-util": "^7.0.7"

@@ -48,7 +48,5 @@ },

"browserify": "^16.5.1",
"contributor": "^0.1.25",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-implicit-dependencies": "^1.0.4",
"ethereumjs-testing": "git+https://github.com/ethereumjs/ethereumjs-testing.git#v1.3.3",
"istanbul": "^0.4.1",

@@ -61,2 +59,3 @@ "karma": "^5.2.1",

"minimist": "^1.2.0",
"node-dir": "^0.1.17",
"nyc": "^14.0.0",

@@ -77,79 +76,7 @@ "prettier": "^2.0.5",

"bugs": {
"url": "https://github.com/ethereumjs/ethereumjs-vm/issues"
"url": "https://github.com/ethereumjs/ethereumjs-vm/issues?q=is%3Aissue+label%3A%22package%3A+tx%22"
},
"homepage": "https://github.com/ethereumjs/ethereumjs-vm",
"homepage": "https://github.com/ethereumjs/ethereumjs-vm/tree/master/packages/tx#readme",
"contributors": [
{
"name": "<-c-g-> ",
"email": "christophergewecke@gmail.com",
"url": "https://github.com/cgewecke",
"contributions": 1,
"additions": 3,
"deletions": 1,
"hireable": true
},
{
"name": "Kirill Fomichev",
"email": "fanatid@ya.ru",
"url": "https://github.com/fanatid",
"contributions": 1,
"additions": 3,
"deletions": 2,
"hireable": true
},
{
"name": "Rick Behl",
"email": null,
"url": "https://github.com/Nexus7",
"contributions": 1,
"additions": 1,
"deletions": 1,
"hireable": null
},
{
"name": "Tim Coulter",
"email": "tim@timothyjcoulter.com",
"url": "https://github.com/tcoulter",
"contributions": 1,
"additions": 1,
"deletions": 1,
"hireable": null
},
{
"name": "kumavis",
"email": "aaron@kumavis.me",
"url": "https://github.com/kumavis",
"contributions": 1,
"additions": 6,
"deletions": 6,
"hireable": true
},
{
"name": "Jack Peterson",
"email": "jack@tinybike.net",
"url": "https://github.com/tinybike",
"contributions": 2,
"additions": 1,
"deletions": 2,
"hireable": null
},
{
"name": "Nick Dodson",
"email": null,
"url": "https://github.com/SilentCicero",
"contributions": 2,
"additions": 29,
"deletions": 0,
"hireable": true
},
{
"name": null,
"email": null,
"url": "https://github.com/ckeenan",
"contributions": 2,
"additions": 4,
"deletions": 3,
"hireable": null
},
{
"name": "Alex Beregszaszi",

@@ -162,22 +89,4 @@ "email": "alex@rtfs.hu",

"hireable": true
},
{
"name": null,
"email": null,
"url": "https://github.com/wanderer",
"contributions": 171,
"additions": 112706,
"deletions": 96355,
"hireable": null
},
{
"name": null,
"email": null,
"url": "https://github.com/kvhnuke",
"contributions": 7,
"additions": 268,
"deletions": 53,
"hireable": null
}
]
}

@@ -9,2 +9,5 @@ # @ethereumjs/tx

| Implements schema and functions related to Ethereum's transaction. |
| --- |
Note: this `README` reflects the state of the library from `v3.0.0` onwards. See `README` from the [standalone repository](https://github.com/ethereumjs/ethereumjs-tx) for an introduction on the last preceeding release.

@@ -21,3 +24,3 @@

```typescript
import Transaction from '@ethereumjs/tx'
import { Transaction } from '@ethereumjs/tx'

@@ -70,11 +73,13 @@ const txParams = {

# Chain and Hardfork Support
# SETUP
## Chain and Hardfork Support
The `Transaction` constructor receives a parameter of an [`@ethereumjs/common`](https://github.com/ethereumjs/ethereumjs-vm/blob/master/packages/common) object that lets you specify the chain and hardfork to be used. By default, `mainnet` and `istanbul` will be used.
## MuirGlacier Support
### MuirGlacier Support
The `MuirGlacier` hardfork is supported by the library since the `v2.1.2` release.
## Istanbul Support
### Istanbul Support

@@ -85,3 +90,3 @@ Support for reduced non-zero call data gas prices from the `Istanbul` hardfork

# EIP-155 support
## EIP-155 support

@@ -88,0 +93,0 @@ `EIP-155` replay protection is activated since the `spuriousDragon` hardfork. To disable it, set the hardfork to one earlier than `spuriousDragon`.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc