This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##########GRAPH-NODE######## | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -; \ | |
sudo bash -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'; \ | |
sudo apt-get update && sudo apt-get upgrade -y; \ | |
sudo apt-get install -y clang libpq-dev libssl-dev pkg-config; \ | |
sudo apt-get install -y gnupg gnupg2 snapd git postgresql-12 postgresql-client-12 nodejs screen httpie ufw; \ | |
curl https://sh.rustup.rs -sSf | sh | |
source $HOME/.cargo/env | |
sudo snap install ipfs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
remote_height=$(curl -s https://api.blockcypher.com/v1/eth/main | jq .height) | |
local_height=$(($(curl -sX POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' http://127.0.0.1:8545 | jq -r .result))) | |
re='^[0-9]+$' | |
if ! [[ $remote_height =~ $re ]] ; then | |
echo "error: remote_height is not a number" >&2; exit 1 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#####GRAPH-NODE###### | |
#####NPM INSTALL##### | |
sudo apt update && \ | |
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash - && \ | |
sudo apt -y install nodejs && \ | |
sudo apt install -y libsecret-1-dev && \ | |
nodejs -v && \ | |
npm version | |
####DATABASE-SERVER################## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# This script allows the easy installation of the Cosmovisor daemon to watch | |
# any upgrade of your Desmos node. | |
# In order to run it properly, just execute this script giving it the path | |
# to the folder where you cloned Desmos. | |
# Example: | |
# ./install-cosmovisor.sh ~/desmos | |
DESMOS_PATH=$1 |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SELF_ADDR="" | |
OPERATOR="" | |
WALLET_NAME="" | |
NODE="tcp://localhost:26657" | |
WALLET_PWD="" | |
BIN_FILE="/usr/local/bin/bitsongcli" | |
COIN="ubtsg" | |
CHAIN_ID="bitsong-1" |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2023-07-14T11:22:04.193+0300 [INFO] provider: configuring client automatic mTLS | |
2023-07-14T11:22:04.197+0300 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.5.1/darwin_arm64/terraform-provider-random_v3.5.1_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/random/3.5.1/darwin_arm64/terraform-provider-random_v3.5.1_x5] | |
2023-07-14T11:22:04.200+0300 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.5.1/darwin_arm64/terraform-provider-random_v3.5.1_x5 pid=34092 | |
2023-07-14T11:22:04.200+0300 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.5.1/darwin_arm64/terraform-provider-random_v3.5.1_x5 | |
2023-07-14T11:22:04.252+0300 [INFO] provider.terraform-provider-random_v3.5.1_x5: configuring server automatic mTLS: timestamp=2023-07-14T11:22:04.251+0300 | |
2023-07-14T11:22:04.269+0300 [DEBUG] provider: using plugin: version=5 | |
2023-07-14T11:22:04.269+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Erigon Polygon Service | |
After=network.target | |
StartLimitIntervalSec=60 | |
StartLimitBurst=3 | |
[Service] | |
Type=simple | |
Restart=on-failure | |
RestartSec=5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Heimdall | |
After=network.target | |
[Service] | |
Restart=on-failure | |
RestartSec=3 | |
User=polygon | |
LimitNOFILE=65535 | |
ExecStart=/home/polygon/heimdall/build/heimdalld --home /home/polygon/.local/share/heimdall/ start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Heimdallr | |
After=network.target | |
StartLimitIntervalSec=60 | |
StartLimitBurst=3 | |
[Service] | |
Type=simple | |
Restart=on-failure | |
RestartSec=5 |
OlderNewer