Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Latest commit

 

History

History
13 lines (12 loc) · 1.09 KB

connect-to-cluster.md

File metadata and controls

13 lines (12 loc) · 1.09 KB

How to connect to cluster

  1. Make sure you’ve follow the instructions to build from source using Nix
  2. Make sure you’re on latest cardano-sl-X.X branch
  3. To build a script that will contain everything needed to connect to mainnet: $ nix-build release.nix -A connect.mainnetWallet -o connect-to-mainnet
  4. Alternatively you can connect to different environments and different executables by building the scripts:
  • Explorer node with mainnet: $ nix-build release.nix -A connect.mainnetExplorer -o connect-explorer-to-mainnet
  • Wallet to staging: $ nix-build release.nix -A connect.stagingWallet -o connect-explorer-to-mainnet
  • Explorer to staging: $ nix-build release.nix -A connect.stagingExplorer -o connect-explorer-to-mainnet
  1. A runtime state folder will be automatically created relative to your current working directory, but you can override it using $ export CARDANO_STATE_DIR=~/wallet-state
  2. Run the script: $ ./connect-to-mainnet Or run ./connect-explorer-to-mainnet if you might want to connect anything listed in 4.