-
Notifications
You must be signed in to change notification settings - Fork 806
Connect Ganache GUI to Ganache CLI? #322
Comments
change the port |
This isn't working for me, Ganache GUI is just starting up a server on 8545 as well... |
They have to have the same networkId. You can change the networkId of ganache-cli using the |
ever got this to work? @nickysemenza |
Nope 😕
…On Sun, Apr 8, 2018 at 4:08 PM Kendall Arneaud ***@***.***> wrote:
ever got this to work? @nickysemenza <https://github.com/nickysemenza>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<trufflesuite/ganache#322 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AArL_geSJNK1VJxel07KfmFpp3CG-KZBks5tmm40gaJpZM4Ry4sZ>
.
|
If you have the GUI running on 8545, you don't need to run |
@kowsheek the idea behind having CLI and GUI is to run CLI on Ubuntu server, and connect GUI on my laptop and see what is going on in server's blockchain. I cannot run GUI on Ubuntu server. |
Any updates on this? |
Hey everyone! As you have found out, Ganache currently cannot connect to another RPC endpoint such as ganache-cli. With that said, unfortunately we don't have an update on if/when this will be implemented. It's definitely on our radar, but not on deck to implement. |
@seesemichaelj or anyone else: is there any way to start the Ganache UI electron app with high ether values for all its accounts instead of just 100. I need it to perform some tests that involve high ether values. Like this script from Open Zeppelin: https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/scripts/test.sh . I 'am using it to successfully do my test with ganache-cli but UI app would be better for demo purposes. Thx. |
@lakamsani in the next release in the coming weeks, there will be some additional settings you can change to do this. In the meantime you can modify your settings file:
The "server" object actually gets passed as is to ganache-cli/core. So you can just add the |
@seesemichaelj thx for that suggestion. I tried and it doesn't seem to pick up anything from there. Neither the mnemonic nor the |
I was actually able to save those values from the GUI preferences! Should have looked there first. 👍 |
@lakamsani Ah, yes the You are correct; they are in the GUI in the |
This comment has been minimized.
This comment has been minimized.
If someone was interested in tackling this issue (I saw @oxidizer was potentially interested [or I have the wrong GitHub username]), some points of interest for you to see the interactions between the GUI and ganache-core to try to abstract it to point to a CLI instance rather than starting one up:
This may have once been somewhat trivial, but after we did the work for workspaces (which are not supported in ganache-core/cli) there are some nuances that may not be so easy to port the functionality |
Any updates on this? As an alternative, since the GUI still uses the same ganache-core/cli, can you use Ganache GUI to do the fork directly instead of using the cli? If none of the above are possible today, is there a way we could fund the development of this feature so it moves higher up the list? Feel free to reach out directly if you want to discuss this further at valerio at ocelot dot net Thanks |
@davidmurdoch has really become the owner around Ganache and would be able to provide a better response, so I'll defer to him on this one |
I also have ganachi-cli running on a development server. |
@dportabella Did you find something? |
@SalahAdDin I'm also interested. Did you find anything? |
@Bruxo00 Unfortunately. |
@Bruxo00, I gave up on ganache temporally. I am currently using the free version of the infura.io service. |
I second that. I tried today and Ganache GUI wants to spawn another chain. Would be good to have that supported. On top of above described use-case with Ubuntu server there is one more. For brownie users when using development console, |
Need to have that supported, I'm running ganache-cli on a Docker container and would love to explore it via Ganache UI |
Updates on this? I prefer ganache-cli to start the RPC service over the UI. This way the UI is optional for development and is only used when needed to explore the local blockchain created by ganache-cli. |
I started work on this here: #5633 Anyone savvy enough with JSON-RPC, web3.js, and React want to give it a shot at optimizing this to handle mainnet in a way that doesn't crawl to a hault when viewing the transactions tab? Bonus points if you get Truffle Project and Events working! |
Is it possible to connect Ganache GUI to Ganache CLI? So far I see that they don't work together :(
What I am trying to achieve: run Ganache CLI on a server in a background and connect to it with GUI on my local laptop.
The text was updated successfully, but these errors were encountered: