Socket
Socket
Sign inDemoInstall

ethereum-web3-plus

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethereum-web3-plus - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

3

index.js
console.log("Intitializing ethereum-web3-plus - Local dev");
//console.log("Intitializing ethereum-web3-plus - Local dev");

@@ -175,2 +175,3 @@

var receipt=self.web3.eth.getTransactionReceipt(tx);
if(!receipt) break;
var callback = txwait.cb;

@@ -177,0 +178,0 @@ var cb_args = txwait.args;

{
"name": "ethereum-web3-plus",
"version": "0.1.4",
"version": "0.1.5",
"description": "Adds some simplifications to the web3 package such as compilation, instance creation, call sequencing",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -7,2 +7,3 @@ # Documentation page for ethereum-web3-plus

- A block watcher and a waitFor function to get notified when a submitted transaction is completed and considered canonical.
Note that in this version the solidity compiler is the one loaded by the geth node.

@@ -47,3 +48,8 @@

Using the solidity compiler functionality
Using the solidity compiler functionality:
Note the path resolution is relative to the path where the geth node is running.
- So if the geth node runs in /home/user/guenole/ethereum, "./sources/file.sol" will be resolved as /home/user/guenole/ethereum/sources/file.sol
- You can specify an absolute path but be carefull that libraries will use the full path and cut after 36 chars. So if you have an absolute path of /home/user/guenole/ethereum/sources/library.sol containing a library Library you will have a library token being __/home/user/guenole/ethereum/sources/__ because the fullpath is truncated at 36 char to fit 40chars with the __ on both side.
- A workaround is to create symbolic link to the sources path either from the geth node path or from the root (/)
```js

@@ -50,0 +56,0 @@ var compiler = web3.solidityCompiler();

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