# @digix/truffle-lightwallet-provider

> RPC Provider using Eth-Lightwallet & Web3-Provider-Engine.

Latest version **0.1.7** (published 2018-12-03) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @digix/truffle-lightwallet-provider
pnpm add @digix/truffle-lightwallet-provider
yarn add @digix/truffle-lightwallet-provider
bun add @digix/truffle-lightwallet-provider
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.7 |
| Published | 2018-12-03 |
| First published | 2017-02-06 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 28.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Chris Hitchcott |
| Maintainers | francisdigix, mandres_digix, mikej.digix, mrenoon, rbanate, rohitn, tymat, veelab8 |

## Links

- npm: https://www.npmjs.com/package/@digix/truffle-lightwallet-provider
- npm.io page: https://npm.io/package/@digix/truffle-lightwallet-provider

## Dependencies (5)

- [eth-sig-util](https://npm.io/package/eth-sig-util.md) ^1.2.1
- [ethereumjs-tx](https://npm.io/package/ethereumjs-tx.md) ^1.3.1
- [ethereumjs-util](https://npm.io/package/ethereumjs-util.md) ^5.1.2
- [web3-provider-engine](https://npm.io/package/web3-provider-engine.md) ^13.1.1
- [@digix/eth-lightwallet](https://npm.io/package/@digix/eth-lightwallet.md) ^3.0.3

## Recent versions

- 0.1.7 (latest) — 2018-12-03
- 0.1.6 — 2018-12-03
- 0.1.5 — 2018-12-03
- 0.1.4 — 2018-01-30
- 0.1.3 — 2017-11-21
- 0.1.2 — 2017-08-02
- 0.1.1 — 2017-07-13
- 0.1.0 — 2017-07-10
- 0.0.13 — 2017-06-14
- 0.0.12 — 2017-04-28
- 0.0.11 — 2017-03-15
- 0.0.10 — 2017-03-09
- 0.0.9 — 2017-03-09
- 0.0.8 — 2017-02-09
- 0.0.7 — 2017-02-07
- … 6 more at https://npm.io/package/@digix/truffle-lightwallet-provider/versions

## README

# Truffle Lightwallet Provider

RPC Provider using Eth-Lightwallet & Web3-Provider-Engine.

Inspired by https://github.com/trufflesuite/truffle-hdwallet-provider.

## Usage

```javascript
// truffle.js
const LightWalletProvider = require('@digix/truffle-lightwallet-provider');

module.exports = {
  networks: {
    ropsten: {
      provider: new LightWalletProvider({
        keystore: '/path/to/my/serialized-eth-lightwallet.json',
        password: 'mySecretDecryptionKey',
        rpcUrl: 'http://ropsten.infura.io/',
        debug: true, // optional, show JSON-RPC logs
        prefund: 1e18, // optional, fund all lightwallet addresses (via coinbase) with this  of wei
        pollingInterval: 4000 // optional, polling interval for the provider (reduce for faster deploy with testRPC or kovan)
      }),
      network_id: '3',
    },
  },
};
```

## Sigmate

Check out https://github.com/DigixGlobal/sigmate for a simple eth-lightwallet keystore manager.

---
_Source: https://npm.io/package/@digix/truffle-lightwallet-provider · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
