1.0.33 • Published 6 years ago

vocdoni-ethereum-lib v1.0.33

Weekly downloads
2
License
ISC
Repository
github
Last release
6 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

6 years ago

1.0.31

6 years ago

1.0.30-s

6 years ago

1.0.29

6 years ago

1.0.28

6 years ago

1.0.27

6 years ago

1.0.26

6 years ago

1.0.25

6 years ago

1.0.24

6 years ago

1.0.23

6 years ago

1.0.22

6 years ago

1.0.21

6 years ago

1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago