New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vocdoni/contract-wrappers

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vocdoni/contract-wrappers

Javascript/Typescript contract wrappers package

1.15.0
latest
Source
npm
Version published
Maintainers
5
Created
Source

@vocdoni/contract-wrappers

@vocdoni/contract-wrappers contains JS wrappers for the solidity contract artifacts from dvote-solidity library

Installation

Use npm to install @vocdoni/contract-wrappers.

npm install @vocdoni/contract-wrappers

Usage

ENS hash address
import { ensHashAddress } from "@vocdoni/contract-wrappers"

const addr = "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1"
ensHashAddress(addr)
// returns '0xe7fb8f3e702fd22bf02391cc16c6b4bc465084468f1627747e6e21e2005f880e'

Testing

To execute library tests just run

npm run test

FAQs

Package last updated on 10 Dec 2021

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