Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

conflux-web-utils

Package Overview
Dependencies
Maintainers
3
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conflux-web-utils

Collection of utility functions used in conflux-web.js.

  • 1.36.7-alpha.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
44
increased by266.67%
Maintainers
3
Weekly downloads
 
Created
Source

conflux-web-utils

This is a sub package of ConfluxWeb.js

This contains useful utility functions for Dapp developers.

Installation

npm install conflux-web-utils

Usage

Import all of the utils functions

import * as Utils from 'conflux-web-utils';

console.log(Utils);
> {
    sha3: Function,
    soliditySha3: Function,
    isAddress: Function,
    ...
}

Import what you need

import { asciiToHex } from 'conflux-web-utils';

console.log(asciiToHex('I have 100!'));
> "0x49206861766520313030e282ac"

Types

All the typescript typings are placed in the types folder.

FAQs

Package last updated on 01 Apr 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc