Socket
Socket
Sign inDemoInstall

ethereumjs-account

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethereumjs-account - npm Package Compare versions

Comparing version 0.0.6 to 1.0.0

.index.js.swo

8

index.js

@@ -8,3 +8,2 @@ const ethUtil = require('ethereumjs-util')

name: 'nonce',
noZero: true,
default: new Buffer([])

@@ -28,5 +27,2 @@ }, {

Account.prototype.serialize = function () {
if (this.balance.toString('hex') === '00') {
this.balance = null
}
return rlp.encode(this.raw)

@@ -108,4 +104,4 @@ }

this.nonce.toString('hex') === '' &&
this.stateRoot.toString('hex') === ethUtil.SHA3_RLP &&
this.codeHash.toString('hex') === ethUtil.SHA3_NULL
this.stateRoot.toString('hex') === ethUtil.SHA3_RLP.toString('hex') &&
this.codeHash.toString('hex') === ethUtil.SHA3_NULL.toString('hex')
}
{
"name": "ethereumjs-account",
"version": "0.0.6",
"version": "1.0.0",
"description": "a help module for ethereum account schema",

@@ -24,4 +24,4 @@ "main": "index.js",

"dependencies": {
"ethereumjs-util": "1.5.1",
"rlp": "1.1.2"
"ethereumjs-util": "2.0.0",
"rlp": "2.0.0"
},

@@ -28,0 +28,0 @@ "devDependencies": {

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