[SOLVED] Daedalus wallet appears stuck on «Connecting to network»

@raph_cardano script will actually work better even though it takes a bit longer to run as it measures the response time of each node and sorts by the fastest nodes found! Mine just filters by available nodes nearest to you but you have to follow the TODO instructions in the code to setup your preferred location as it’s very basic. You should only need to run either of these “configuration helper” scripts once anyway.

@Crypto_Dryp below is the general steps for using either Python script for newbies or less technical folks:

  1. Make sure you have a python interpreter installed. Most computers already have it installed by default or due to other Python apps you already use. If not, it’s a free download at Download Python | Python.org including install instructions if you need them.
  2. Copy and paste either Raph’s or my code snippet and save it to a file anywhere. Download folder or desktop works great. Typically people use the .py extension for python files. Hint: pick a short file name that makes sense to you as you may need to type this in step 3!
  3. Run the script. This differs by operating system but here is a simple guide that explains how for all of them: How to run Python Scripts? Once complete both our workaround scripts will generate a file called topology.yaml which is a drop in replacement for Daedalus configuration in the format the wallet expects.
  4. Find where your Daedalus node configuration currently exists and make a backup copy.
    On Linux and Mac you can use find command in the terminal find ~/.daedalus -name topology.yaml on Windows you can use the search feature from start menu or from your C: drive window once open. Sorry, been awhile since I used Windows.
  5. Copy the newly created topology.yaml into the Daedalus configuration location and restart the wallet to use the new faster relay nodes to connect to the network and sync!

Of course if that still seems super complicated or you don’t feel comfortable running a script that you don’t completely understand that’s OK. The default configuration of Daedalus will only use IOHK relay nodes and it will eventually connect and sync if you leave it running overnight. After the first “full sync” a new epoch or block comes out every 5 days so just make sure to sync up at least once a week and it won’t take as long in the future. Also as Raph mentioned sometime soon the “official developers” will improve the peer-to-peer (P2P) discovery code within the Cardano network itself and then we won’t need these temporary workarounds anymore.

1 Like