1.0.33 • Published 7 years ago

vocdoni-ethereum-lib v1.0.33

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

Vocdoni-ethereum-lib

This package exposes the necessary apis to interact with Vocdoni Ethereum contracts.

Install

npm install vocdoni-eth-lib --save

API

const vocdoni = require ('vocdoni-ethereum-lib')

The JS api is what probably you want to deal with. There are five objects exposed.

  • vocdoni.identity
  • vocdoni.voting
  • vocdoni.utils
  • vocdoni.wallet
  • vocdoni.bulk

The easiest way to get a good understanding is to look at the tests.

If you need access to the contracts abi or bytecode

  • vocdoni.identityContract.abi
  • vocdoni.identityContract.bytecode
  • vocdoni.votingContract.abi
  • vocdoni.votingContract.bytecode

Contribute

For the JavaScript API we're using ES2015 syntax and compile using Babel.
Source code is under /src and compiled code is under /lib

You will find the solidity contracts under /contracts.
Compiled contracts go under /build

Install:
git clone https://github.com/vocdoni/ethereum-lib.git
npm install

Compile contracts:
npm run compile-contracts

Compile module:
npm run compile-module

Compile all:
npm run comple

Test:
npm run test npm run test-bulk

1.0.33

7 years ago

1.0.31

7 years ago

1.0.30-s

7 years ago

1.0.29

7 years ago

1.0.28

7 years ago

1.0.27

7 years ago

1.0.26

7 years ago

1.0.25

7 years ago

1.0.24

7 years ago

1.0.23

7 years ago

1.0.22

7 years ago

1.0.21

7 years ago

1.0.20

7 years ago

1.0.19

7 years ago

1.0.18

7 years ago

1.0.17

7 years ago

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago