Comments (13)
You can literally just remove/comment out this line to avoid it https://github.com/oraclize/ethereum-bridge/blob/master/bridge.js#L2
We will recheck compatibility between versions, and update the version check, the compatibility check is way too strict at the moment, and I think it should work with node 8, but it's untested yet.
from ethereum-bridge.
I did that and got
{"message":"Error: Account ","stack":"Error: Error: Account \n at deployOraclize (/Users/abc/code/blockchain/ethereum-bridge/bridge.js:525:16)\n at /Users/abc/code/blockchain/ethereum-bridge/bridge.js:425:33\n at /Users/abc/code/blockchain/ethereum-bridge/bridge.js:506:14\n at Request._callback (/Users/abc/code/blockchain/ethereum-bridge/lib/bridge-http.js:24:14)\n at Request.self.callback (/Users/abc/code/blockchain/ethereum-bridge/node_modules/request/request.js:188:22)\n at emitTwo (events.js:125:13)\n at Request.emit (events.js:213:7)\n at Request. (/Users/abc/code/blockchain/ethereum-bridge/node_modules/request/request.js:1171:10)\n at emitOne (events.js:115:13)\n at Request.emit (events.js:210:7)\n at IncomingMessage. (/Users/abc/code/blockchain/ethereum-bridge/node_modules/request/request.js:1091:12)\n at Object.onceWrapper (events.js:312:19)\n at emitNone (events.js:110:20)\n at IncomingMessage.emit (events.js:207:7)\n
at endReadableNT (_stream_readable.js:1045:12)\n at _combinedTickCallback (internal/process/next_tick.js:102:11)"}Exiting...
from ethereum-bridge.
Deployed just fine for me, on node v8.1.4, running with testrpc v4.0.1 and the latest ethereum-bridge (with that versionCheck line commented out).
What are you running it with, are you sure the account is unlocked?
from ethereum-bridge.
Yes, I am running account unlocked. If it was locked, it should not crash, but complain and exit.
However, I am not running node v8.1.4, I am running v8.0.0. If you wish, I can update the node.
from ethereum-bridge.
I am giving it a try with 8.0.0 now. In regards to using node, I highly recommend you couple it with nvm (node version manager) for your OS, so you can easily switch between different node versions due to these potential compatibility issues.
from ethereum-bridge.
Works fine with 8.0.0 as well. How are you trying to run the bridge, with a testnet or a privatenet, and are you using testrpc?
from ethereum-bridge.
I am running it with a privatenet. I use
geth --datadir ~/data/privateEthereum/cl1 --networkid 1234 --rpcport 8042 --rpcaddr 127.0.0.1 --port 30303 --rpc --rpcapi="db,eth,net,web3,personal,web3" --maxpeers 3 --nat "any" --nodiscover --rpccorsdomain "*" --mine --minerthreads=1 --unlock 0 --password passwordFile console
and then calling the bridge with the simple command
node bridge -H localhost:8042 -a 0
Is there a mistake in this?
from ethereum-bridge.
It looks correct, but the bridge's error output indicates it can't see that account as existing on the node at all. I've recreated this on testrpc by specifying the bridge to use an account outside the account range. Are you able to interact with account[0] via the geth console, such as send transactions?
from ethereum-bridge.
Let me recheck everything, I might have some error.
I am able to interact with the account in the console
from ethereum-bridge.
BTW, if the account is locked, can it not complain that it is locked and exit? That way a user can understand the problem and correct the running.
from ethereum-bridge.
It does in fact
[2017-07-20T15:33:20.954Z] INFO deploying the oraclize connector contract...
Error: Error: Error: could not unlock signer account
from ethereum-bridge.
I was able to get in, a mistake. However, I did not know that private blockchains require payment too. I assumed that only public ones required payment.
[2017-07-20T16:28:35.080Z] WARN 0xd408cd1161cd8015f1eaf360f4935a24e72dae2e doesn't have enough funds to cover transaction costs, please send at least 0.05 ETH
from ethereum-bridge.
Glad to hear you're in. Yes, privatenets require payment still, even with privatenet ether, to simulate the mainnet environment as closely as possible!
from ethereum-bridge.
Related Issues (20)
- HTTP query create request error
- Ethereum bridge stops writing into tingodb after sometime HOT 21
- What is the behaviour of --dev? HOT 1
- Remove unused dependencies HOT 1
- oraclize examples not firing first free query HOT 1
- Why the callback in my private ethereum chain don't work? HOT 3
- oraclize report "exceeds block gas limit" HOT 2
- Possibility to force query execution before specified delay HOT 2
- Cannot read property 'node' of undefined HOT 5
- Cannot debug callback transaction in truffle HOT 1
- Error: Key not found in database HOT 11
- Error: More than one instance of bitcore-lib found. HOT 3
- Oracle does not receive the queries HOT 10
- gas errors when using bridge with private geth network HOT 19
- Alternative Private Chains HOT 6
- I can't use Ethereum-Bridge HOT 1
- The bridge returns a response only one time
- Wrong information message in ethereum-bridge on ubuntu HOT 1
- pls how can i link this function in my smart contract to the function in my web page HOT 1
- ERROR http query create request error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ethereum-bridge.