Guest User

Untitled

a guest
Jan 21st, 2018
490
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Install dependencies:
  2.  
  3. sudo apt install git curl
  4.  
  5. If using Ubuntu/Debian, install the packages build-essential and libgconf2-dev as well.
  6.  
  7. Set up nixos:
  8.  
  9. curl https://nixos.org/nix/install | sh
  10. . ~/.nix-profile/etc/profile.d/nix.sh
  11. sudo mkdir -p /etc/nix
  12. sudo nano /etc/nix/nix.conf
  13.  
  14. Add the following two lines for binary-caches from the official repository to /etc/nix/nix.conf:
  15.  
  16. binary-caches = https://cache.nixos.org https://hydra.iohk.io
  17. binary-cache-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
  18.  
  19. Set up Cardano SL:
  20.  
  21. cd ~
  22. git clone https://github.com/input-output-hk/cardano-sl.git
  23. cd cardano-sl
  24. git checkout master
  25. nix-build -A connectScripts.mainnetWallet -o connect-to-mainnet
  26.  
  27. Set up Daedalus:
  28.  
  29. cd ~
  30. git clone https://github.com/input-output-hk/daedalus
  31. cd daedalus
  32. nano package.json
  33. # Delete the line starting with "electron-inspector"!
  34. npm install
  35.  
  36. If you are getting the AssertionError for a wrong node version, edit the file node_modules/fbjs-scripts/node/check-dev-engines.js and comment out line 39 to 42 and line 57 to 60, which both start with assert( semver.satisties(npmVersion.
  37. Then run npm install again.
  38.  
  39. npm run build
  40. NODE_TLS_REJECT_UNAUTHORIZED=0 npm run start
  41.  
  42. Deadalus should now be running in the terminal. To start Cardano SL, open up a new one.
  43.  
  44. cd ~/cardano-sl
  45. ./connect-to-mainnet
  46.  
  47. Now you can use the Daedalus application.
  48.  
  49. When getting a Daedalus Sync Error while setting up reload the view by pressing Ctrl+R.
RAW Paste Data