Skip to content

Instantly share code, notes, and snippets.

@chinezupwnz
chinezupwnz / gaiad.service
Created April 27, 2019 15:48 — forked from kwunyeung/gaiad.service
systemd unit file of Cosmos gaia testnet
[Unit]
Description=Cosmos Gaia Node
After=network-online.target
[Service]
User=gaiad
ExecStart=/opt/go/bin/gaiad start --home=/opt/gaiad/
Restart=always
RestartSec=3
LimitNOFILE=4096
@chinezupwnz
chinezupwnz / iris_install.sh
Created April 27, 2019 15:48 — forked from kwunyeung/iris_install.sh
Install IRIShub
#!/bin/bash
# Upgrade the system and install go
sudo apt update
sudo apt upgrade -y
sudo apt install gcc git make -y
sudo snap install --classic go
sudo mkdir -p /opt/go/bin
# Export environment variables
@chinezupwnz
chinezupwnz / gaia_install.sh
Created April 27, 2019 15:48 — forked from kwunyeung/gaia_install.sh
bash script for installing go and gaia cosmoshub-1 on Ubuntu
#!/bin/bash
# Upgrade the system and install go
sudo apt update
sudo apt upgrade -y
sudo apt install gcc git make -y
sudo snap install --classic go
sudo mkdir -p /opt/go/bin
# Export environment variables
@chinezupwnz
chinezupwnz / gaia_upgrade.sh
Created April 27, 2019 15:47 — forked from kwunyeung/gaia_upgrade.sh
script to upgrade the Cosmos gaia testnet
#!/bin/bash
# Upgrade Cosmos SDK and restart gaiad
POSITIONAL=()
while [[ $# -gt 0 ]]
do
key="$1"
case $key in
-t|--tag)