Skip to content

Latest commit

 

History

History
83 lines (56 loc) · 2.25 KB

RUN.md

File metadata and controls

83 lines (56 loc) · 2.25 KB

ENCOINS Relay run guide

Assuming you followed the installation guide, all the necessary backend apps should be installed and on PATH. Make an environment variable for the encoins-tools folder:

export ENCOINS_TOOLS_PATH=~/encoins-tools

IMPORTANT: Make sure to open port 3000 on your relayer machine. You will not be able to receive user requests otherwise.

Running with a single bash command

  1. Move to the encoins-tools folder and execute run.sh.

  2. Wait until cardano-wallet is fully synchronized.

  3. Press enter.

Running with tmux

  1. In the terminal, move to the testnet-preprod/scripts folder:
cd $ENCOINS_TOOLS_PATH/testnet-preprod/scripts
  1. Start a new tmux session:
tmux new-session -d -s "encoins-relay"
tmux
  1. Press ctrl + b + % to split window vertically and run cardano-node:
./node.sh
  1. Press ctrl + b + " to split window horizontally and run Kupo:
./kupo.sh
  1. Press ctrl + b + " to split window horizontally and run cardano-wallet:
./wallet.sh
  1. After running cardano-wallet split window again, move to the wallets directory and load your wallet:
cd ../wallets
./load-wallet.sh
  1. Close this pan with ctrl + b x when you see message like this:
{"address_pool_gap":20,"assets":{"available":[],"total":[]},"balance":{"available":{"quantity":0,"unit":"lovelace"},"reward":{"quantity":0,"unit":"lovelace"} ...
  1. Wait until cardano-wallet is fully synchronized.

  2. Now select your first pan with ctrl + b q 0, go to ../apps/encoins directory and run encoins-relay:

cd ../apps/encoins
encoins run
  1. To properly shut down, use ctrl + c to close the individual apps. Then use ctrl + b + d to detach tmux. Finally, kill the tmux session with
tmux kill-session -t encoins-relay

When is cardano-wallet fully synchronized?

When you see message like this:

[cardano-wallet.wallet-engine:Notice:42] [current-time]: In sync! Applied n blocks...