diff --git a/lib/src/utils/address.ts b/lib/src/utils/address.ts index 636fba7..46b496d 100644 --- a/lib/src/utils/address.ts +++ b/lib/src/utils/address.ts @@ -1,5 +1,6 @@ import bech32 from 'bech32'; -import { isAddress, stripHexPrefix } from 'web3-utils'; +import { isAddress } from 'web3-validator'; +import { stripHexPrefix } from 'web3-eth-accounts'; import { Network } from '../network/network'; import { Bytes } from './bytes/bytes'; // import { toBase64 } from '@cosmjs/encoding'; diff --git a/package.json b/package.json index 812e9bd..51d49ac 100644 --- a/package.json +++ b/package.json @@ -67,8 +67,10 @@ "randombytes": "2.1.0", "secp256k1": "4.0.2", "snakecase-keys": "3.2.1", - "web3": "1.5.2", - "web3-utils": "1.5.2" + "web3": "4.0.1", + "web3-eth-accounts": "4.0.1", + "web3-utils": "4.0.1", + "web3-validator": "2.0.6" }, "devDependencies": { "@types/bech32": "1.1.2",