1.0.0-beta.55-fix-15 • Published 5 years ago
@mxck/web3-utils v1.0.0-beta.55-fix-15
web3-utils
This is a sub package of web3.js
This contains useful utility functions for Dapp developers. Please read the documentation for more.
Installation
npm install web3-utils
Usage
Import all of the utils functions
import * as Utils from '@mxck/web3-utils';
console.log(Utils);
> {
keccak256: Function,
soliditySha3: Function,
isAddress: Function,
...
}
Import what you need
import { asciiToHex } from '@mxck/web3-utils';
console.log(asciiToHex('I have 100!'));
> "0x49206861766520313030e282ac"
Types
All the typescript typings are placed in the types folder.
1.0.0-beta.55-fix-15
5 years ago
1.0.0-beta.55-fix-14
5 years ago
1.0.0-beta.55-fix-13
5 years ago
1.0.0-beta.55-fix-12
5 years ago
1.0.0-beta.55-fix-10
5 years ago
1.0.0-beta.55-fix-9
5 years ago
1.0.0-beta.55-fix-8
5 years ago
1.0.0-beta.55-fix-7
5 years ago
1.0.0-beta.55-fix-6
5 years ago
1.0.0-beta.55-fix-4
5 years ago
1.0.0-beta.55-fix-3
5 years ago
1.0.0-beta.55-fix-2
5 years ago
1.0.0-beta.55-fix
5 years ago