Skip to content

Instantly share code, notes, and snippets.

@devdudeio
Last active November 22, 2021 03:24
Show Gist options
  • Save devdudeio/22fd451529946fb99b7cc90d9e0f7bbc to your computer and use it in GitHub Desktop.
Save devdudeio/22fd451529946fb99b7cc90d9e0f7bbc to your computer and use it in GitHub Desktop.

Revisions

  1. devdudeio revised this gist Nov 22, 2021. 1 changed file with 0 additions and 4 deletions.
    4 changes: 0 additions & 4 deletions install.sh
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,5 @@
    #!/bin/bash

    # RUN
    # wget -qO- https://gist.github.com/devdudeio/22fd451529946fb99b7cc90d9e0f7bbc/raw/8b038d996fab1ca69c919af2b911ebf73aaf1494/install.sh | bash
    # TO INSTALL

    echo "Installing dependencies"
    sudo apt-get install libgomp1 jq -y

  2. devdudeio revised this gist Nov 22, 2021. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions install.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,9 @@
    #!/bin/bash

    # RUN
    # wget -qO- https://gist.github.com/devdudeio/22fd451529946fb99b7cc90d9e0f7bbc/raw/8b038d996fab1ca69c919af2b911ebf73aaf1494/install.sh | bash
    # TO INSTALL

    echo "Installing dependencies"
    sudo apt-get install libgomp1 jq -y

  3. devdudeio revised this gist Nov 22, 2021. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions install.sh
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ echo "fetch zcash zkSNARK params"
    echo "setup tmux"

    tmux start-server
    tmux new-session -d -s MySession -n Shell1 -d "./verus-cli/verusd -chain=vrsctest"
    tmux split-window -t MySession:0 "./verus-cli/verus -chain=vrsctest help"
    tmux select-layout -t MySession:0 tiled
    tmux attach -t MySession
    tmux new-session -d -s VerusSession -n Shell1 -d "./verus-cli/verusd -chain=vrsctest"
    echo ""
    echo "you can open the verusnode via:"
    echo "tmux attach -t VerusSession"
  4. devdudeio created this gist Nov 22, 2021.
    29 changes: 29 additions & 0 deletions install.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    #!/bin/bash

    echo "Installing dependencies"
    sudo apt-get install libgomp1 jq -y

    releases_url=https://api.github.com/repos/VerusCoin/VerusCoin/releases
    version=$(curl -s 'https://api.github.com/repos/VerusCoin/VerusCoin/releases?per_page=1' | jq -r '.[0].name')

    echo "Downloading Verus linux cli (latest version: $version)"
    wget https://github.com/VerusCoin/VerusCoin/releases/download/$version/Verus-CLI-Linux-$version-x86_64.tgz

    echo "Extract and Cleanup"

    tar -xvzf Verus-CLI-Linux-$version-x86_64.tgz
    tar -xvzf Verus-CLI-Linux-$version-x86_64.tar.gz
    rm Verus-CLI-Linux-$version-x86_64.tar.gz
    rm Verus-CLI-Linux-$version-x86_64.tar.gz.signature.txt
    rm Verus-CLI-Linux-$version-x86_64.tgz

    echo "fetch zcash zkSNARK params"
    ./verus-cli/fetch-params

    echo "setup tmux"

    tmux start-server
    tmux new-session -d -s MySession -n Shell1 -d "./verus-cli/verusd -chain=vrsctest"
    tmux split-window -t MySession:0 "./verus-cli/verus -chain=vrsctest help"
    tmux select-layout -t MySession:0 tiled
    tmux attach -t MySession