Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
web3-utils
Advanced tools
Changelog
[1.2.6]
Readme
This is a sub package of web3.js
This contains useful utility functions for Dapp developers.
Please read the documentation for more.
npm install web3-utils
Build running the following in the web3.js repository:
npm run-script build-all
Then include dist/web3-utils.js
in your html file.
This will expose the Web3Utils
object on the window object.
// in node.js
var Web3Utils = require('web3-utils');
console.log(Web3Utils);
{
sha3: function(){},
soliditySha3: function(){},
isAddress: function(){},
...
}
All the typescript typings are placed in the types folder.
FAQs
Collection of utility functions used in web3.js.
The npm package web3-utils receives a total of 683,656 weekly downloads. As such, web3-utils popularity was classified as popular.
We found that web3-utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.