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


0.1.73 years ago5 years agoMinified + gzip package size for @digix/truffle-lightwallet-provider in KB


Truffle Lightwallet Provider

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

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


// 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',


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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.