ethereum-web3-plus
Advanced tools
Comparing version 0.1.4 to 0.1.5
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(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17034
237
117