Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"report-dir": "cypress-coverage"
},
"dependencies": {
"@ethereumjs/util": "8.0.2",
"@ledgerhq/hw-transport-webusb": "6.27.6",
"@metamask/jazzicon": "2.0.0",
"@oasisprotocol/client": "0.1.0-alpha9",
Expand All @@ -66,7 +67,6 @@
"bip39": "3.0.4",
"body-scroll-lock": "4.0.0-beta.0",
"copy-to-clipboard": "3.3.2",
"ethereumjs-util": "7.1.5",
"grommet": "2.27.0",
"grommet-icons": "4.8.0",
"i18next": "22.0.2",
Expand Down Expand Up @@ -116,7 +116,6 @@
"@types/w3c-web-usb": "1.0.6",
"@typescript-eslint/eslint-plugin": "5.41.0",
"@typescript-eslint/parser": "5.41.0",
"assert": "2.0.0",
"babel-jest": "29.2.2",
"babel-plugin-istanbul": "6.1.1",
"babel-preset-react-app": "10.0.1",
Expand Down
4 changes: 2 additions & 2 deletions src/app/lib/eth-helpers.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as oasis from '@oasisprotocol/client'
import * as oasisRT from '@oasisprotocol/client-rt'
import { addHexPrefix, isValidPrivate, privateToAddress, toChecksumAddress } from 'ethereumjs-util'
export { isValidAddress as isValidEthAddress } from 'ethereumjs-util'
import { addHexPrefix, isValidPrivate, privateToAddress, toChecksumAddress } from '@ethereumjs/util'
export { isValidAddress as isValidEthAddress } from '@ethereumjs/util'

export const hexToBuffer = (value: string): Buffer => Buffer.from(value, 'hex')
export const isValidEthPrivateKey = (value: string): boolean => {
Expand Down
Loading