@zapjs/utils
v3.0.1
Published
Zap Utils
Downloads
15
Keywords
Readme
@zapjs/utils
This repository provides utilities used in other @zapjs packages. This includes various pure functions that are used by other Ethereum-interfacing packages.
Prerequisites
- Node 12.20 <=14.15
- Typescript
Usage
npm install `@zapjs/utils`
Methods available
import {Utils} from '@zapjs/utils';
Utils.getHexBuffer(string)
Utils.getHexString(string)
Utils.toZapBase(num)
Utils.fromzapBase(num)
Utils.normalizeProvider(ZapProvider)