Comments (12)
@rstormsf @patitonar @sergeevii123 The changes that you've made to the README since I came to this have helped enormously. It's much easier to follow. And all worked first time, when I started from scratch just now. So thanks for that.
from bridge-ui.
@rstormsf Thanks, that was the problem. It was at the end of a long day!
from bridge-ui.
I followed the instructions and worked correctly for me. I also used the same address for 0xETH_ACCOUNT_VALIDATOR_SOKOL
, VALIDATORS
and PROXY_OWNER
but didn't have to add the from
parameter on the truffle configuration.
Some considerations from instructions before running the deploy:
- Make sure your parity Home(sokol) node is fully synced by this step. You can start parity from console on the folder
sokol-node
with the following commandparity --config sokol.toml --nat=none --no-ui
- Get free Sokol Coins from the sokol-faucet
from bridge-ui.
@patitonar I believe it's fully synchronised. And I requested the Sokol tokens from the faucet.
The command you suggested, parity --config sokol.toml --nat=none --no-ui
is exactly what is given in the README file.
My main uncertainties at this point are:
- Is it correct to use the same account for everything? I.e. Validator and the bridge contract admin/owner?
- What does it mean for the account to be "unlocked"? I was assuming this meant I would just sign the transaction in Parity UI, but...
- Given that Sokol is running with
--no-ui
, how to sign a transaction? And how to verify that the Sokol faucet tokens are actually sent?
from bridge-ui.
@patitonar Are you signing the deployment transaction in a gui, or is it done by the deployment script, using the password file?
from bridge-ui.
Hi @peterjoel sorry on the delay. The signing is done by the deployment script using the password file and the JSON keystore file for my account provided in the folder sokol-datadir/keys/Sokol
from bridge-ui.
Thanks @patitonar, that's what I thought should happen. I'm going to start from scratch this afternoon, or maybe try on a different system.
Can you confirm the versions of Parity and Rust that you have got this working with? I'm using Parity v1.10.0-beta and Rust 1.23.0.
from bridge-ui.
@peterjoel I got this working with rustc 1.25 and Parity v1.9.5-stable
from bridge-ui.
@patitonar I have that part working now. I upgraded my OS, Xcode, npm and node. And one of them was the reason.
from bridge-ui.
Couple more questions though on the remainder.
- At steps 7 and 8, the commands, (e.g.
cat sokol-kovan-bridge/../HomeBridge.json | jq '.bytecode' -r | cut -c 3- > HomeBridge_bytecode.bin
) only make sense if run from outside thesokol-kovan-bridge
directory. But then the files are created one level too high. I changed the path so they are created in the main directory. I assume this is just a mistake in the readme, and should be ok. - In step 10, am I supposed to edit
db.toml
to include the correct block numbers for the contract deployments? If so, I'm not sure where to find those after the fact.
In any case (and I'm guessing this is about the deployment block numbers) step 12 fails with:
peter$ env RUST_LOG=info ./parity-bridge/target/release/bridge --config config.toml --database db.toml
INFO:bridge: Parsing cli arguments
INFO:bridge: Loading config
INFO:bridge: Starting event loop
INFO:bridge: Establishing ipc connection
WARN:bridge: Can't establish an IPC connection: Error(Msg("Cannot connect to home node ipc"), State { next_error: Some(Error(Web3(Error(Io(Error { repr: Os { code: 2, message: "No such file or directory" } }), State { next_error: None, backtrace: None })), State { next_error: None, backtrace: None })), backtrace: None })
Cannot connect to home node ipc
Caused by:
Error(Io(Error { repr: Os { code: 2, message: "No such file or directory" } }), State { next_error: None, backtrace: None })
vermilion:sokol-kovan-bridge
from bridge-ui.
@peterjoel I have updated instructions. Sorry about it
from bridge-ui.
WARN:bridge: Can't establish an IPC connection: Error(Msg("Cannot connect to home node ipc"), State { next_error: Some(Error(Web3(Error(Io(Error { repr: Os { code: 2, message: "No such file or directory" } }), State { next_error: None, backtrace: None })), State { next_error: None, backtrace: None })), backtrace: None })
Cannot connect to home node ipc
Caused by:
Error(Io(Error { repr: Os { code: 2, message: "No such file or directory" } }), State { next_error: None, backtrace: None })
vermilion:sokol-kovan-bridge
seems like you haven't provided correct path to your IPC file.
Check your config.toml for IPC paths
and make sure you run the bridge when both parity sokol and kovan nodes are up and running
from bridge-ui.
Related Issues (20)
- Port new startup alarm/error windows behavior back to the Bridge UI v.1.x
- Error that transaction was rejected appeared in TrustWallet
- Incorrect network name in the success window HOT 1
- Vulnerabilities found by 'npm audit' in v2.0.0 HOT 1
- Warn the user if a token transfer could exceed the limit on the token bridge
- VM execution error. Default .env HOT 2
- update to lastest bridge versions HOT 6
- Add AlphaWallet as a supported wallet for xdai bridging HOT 1
- Update style for ethereum classic network HOT 1
- ETH Classic styles' changes HOT 3
- Duplicated network name if incorrect chain is chosen HOT 1
- (fix) Links to POA resources broken
- Make title of the page configurable through the .env file
- Web3 beta.50 issues HOT 1
- Extend the statistic tab with information about fee collected HOT 1
- ERC677 support on the Foreign side in the erc20-to-erc20 bridge mode HOT 1
- No stats could be obtained in case of Infura
- End-to-End tests not working HOT 7
- is:issue is:open
- WalletConnect is not working
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 bridge-ui.