Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Not able to run build in device giving localhost error . What url should i provide so that device is able to do transection . #286

Open
Gagan6696 opened this issue Feb 28, 2019 · 3 comments

Comments

@Gagan6696
Copy link

Gagan6696 commented Feb 28, 2019

Also i am giving my device wifi address in url .
let url = URL(string: "http://[E0:B5:2D:11:5B:8F]:8545")!
print(url)
Web3.default = Web3(url: url)!

@v57
Copy link
Contributor

v57 commented Feb 28, 2019

If you want to connect to your private node then you should start node and listen for your 0.0.0.0 address. If you want to check if all works, you can try to connect Remix first. https://bankex.github.io/web3swift/remix.html

@Gagan6696
Copy link
Author

Gagan6696 commented Mar 1, 2019

i want to run in device rather than simulator.
i already set( 0.0.0.0 all interface) in ganache.
So for this what i have to set in this url?
so that my device can communicate with ganache.
let url = URL(string: "http://[E0:B5:2D:11:5B:8F]:8545")!

@v57
Copy link
Contributor

v57 commented Mar 4, 2019

I don't know, maybe ganache doesn't works with ipv6 network

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants