@digix/truffle-lightwallet-provider

    0.1.7 • Public • Published

    Truffle Lightwallet Provider

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

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

    Usage

    // 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.

    Keywords

    none

    Install

    npm i @digix/truffle-lightwallet-provider

    DownloadsWeekly Downloads

    23

    Version

    0.1.7

    License

    BSD-3-Clause

    Unpacked Size

    29.3 kB

    Total Files

    15

    Last publish

    Collaborators

    • syra.digix
    • kenryanlabso
    • mandres_digix
    • francisdigix
    • mikej.digix
    • veelab8
    • tymat