Created
June 15, 2023 15:05
-
-
Save anandanand84/f715571f5ac9633f1b798a9920c7f40a to your computer and use it in GitHub Desktop.
Injective script
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
sudo parted /dev/sdc --script mklabel gpt mkpart xfspart xfs 0% 100% | |
sudo mkfs.xfs /dev/sdc1 | |
sudo partprobe /dev/sdc1 | |
mkdir /home/azureuser/.injectived | |
sudo mount /dev/sdc1 /home/azureuser/.injectived | |
sudo chown -R azureuser:azureuser /home/azureuser/.injectived/ | |
sudo apt update | |
sudo apt install -y unzip wget | |
sudo apt install snapd -y | |
sudo snap install lz4 | |
wget https://github.com/InjectiveLabs/injective-chain-releases/releases/download/v1.11.3-1686246472/linux-amd64.zip | |
unzip linux-amd64.zip | |
sudo mv peggo /usr/bin | |
sudo mv injectived /usr/bin | |
sudo mv libwasmvm.x86_64.so /usr/lib | |
export MONIKER=dvc | |
injectived init $MONIKER --chain-id injective-1 | |
git clone https://github.com/InjectiveLabs/mainnet-config | |
cp mainnet-config/10001/genesis.json ~/.injectived/config/genesis.json | |
cp mainnet-config/10001/app.toml ~/.injectived/config/app.toml | |
cat mainnet-config/10001/seeds.txt | |
vi ~/.injectived/config/config.toml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment