Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ethdeploy-provider-zero-client

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethdeploy-provider-zero-client

A zero client standard Web3 provider for ethdeploy.

  • 0.1.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

ethdeploy-provider-zero-client

The zero client standard Web3 provider for the ethdeploy Ethereum smart-contract deployment system.

Zero Client

The zero-client provider was designed by the @MetaMask team, namely, @kumavis to handle the management of accounts and key signing for web3 RPC interaction.

See more here: zero-client

Provider Object Example

{
  type: 'zero-client',
  getAccounts: function(cb) {
    cb(null, ['0x2233eD250Ea774146B0fBbC1da0Ffa6a81514cCC']);
  },
  signTransaction: function(rawTx, cb) {
    const privateKey = new  Buffer('c55c58355a32c095c7074837467382924180748768422589f5f75a384e6f3b33', 'hex');

    const tx = new Tx(rawTx);
    tx.sign(privateKey);

    cb(null, ethUtil.bufferToHex(tx.serialize()));
  },
  host: 'https://morden.infura.io',
  port: 8545,
}

Note, please do not store your accounts or private keys in your ethdeploy provider settings... please! That is stupid and dangerous.

Install

npm install --save ethdeploy-provider-zero-client

Licence

Released under the MIT License, see LICENSE.md file.

Keywords

FAQs

Package last updated on 04 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc