@vocdoni/contract-wrappers
TypeScript icon, indicating that this package has built-in type declarations

1.15.0 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @vocdoni/contract-wrappers

Weekly Downloads

3

Version

1.15.0

License

GPL-3.0-or-later

Unpacked Size

10.3 kB

Total Files

9

Last publish

Collaborators

  • elboletaire
  • emmdim
  • marcvelmer
  • brickpop
  • jpainan