1.0.33 • Published 8 years ago

vocdoni-ethereum-lib v1.0.33

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

8 years ago

1.0.31

8 years ago

1.0.30-s

8 years ago

1.0.29

8 years ago

1.0.28

8 years ago

1.0.27

8 years ago

1.0.26

8 years ago

1.0.25

8 years ago

1.0.24

8 years ago

1.0.23

8 years ago

1.0.22

8 years ago

1.0.21

8 years ago

1.0.20

8 years ago

1.0.19

8 years ago

1.0.18

8 years ago

1.0.17

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago