
Subscribe to chaingon | web3topia

Subscribe to chaingon | web3topia
Share Dialog
Share Dialog
<100 subscribers
<100 subscribers
First of all u have to sign up -=> here
than proceed
upgrade system
sudo apt update && sudo apt upgrade -y
install dependencies
sudo apt install curl build-essential git wget jq make gcc -y
install go
ver="1.18.3" # set ver.
cd $HOME
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile
source ~/.bash_profile
go version
Clone the repository
git clone https://github.com/hypersign-protocol/hid-node.git
Build the node
cd hid-node
make install
set vars
NODENAME=<PUT_YOUR_MONIKER_HERE>
echo "export NODENAME=$NODENAME" >> $HOME/.bash_profile
if [ ! $WALLET ]; then
echo "export WALLET=wallet" >> $HOME/.bash_profile
fi
source $HOME/.bash_profile
generate keys
hid-noded keys add $WALLET
or restore yours
hid-noded keys add $WALLET --recover
hid-noded init $NODENAME --chain-id jagrat
cat $HOME/.hid-node/config/genesis.json | jq '.app_state["crisis"]["constant_fee"]["denom"]="uhid"' > $HOME/.hid-node/config/tmp_genesis.json && mv $HOME/.hid-node/config/tmp_genesis.json $HOME/.hid-node/config/genesis.json
cat $HOME/.hid-node/config/genesis.json | jq '.app_state["gov"]["deposit_params"]["min_deposit"][0]["denom" ]="uhid"' > $HOME/.hid-node/config/tmp_genesis.json && mv $HOME/.hid-node/config/tmp_genesis.json $HOME/.hid-node/config/genesis.json
cat $HOME/.hid-node/config/genesis.json | jq '.app_state["mint"]["params"]["mint_denom"]="uhid"' > $HOME/.hid-node/config/tmp_genesis.json && mv $HOME/.hid-node/config/tmp_genesis.json $HOME/.hid-node/config/genesis.json
cat $HOME/.hid-node/config/genesis.json | jq '.app_state["staking"]["params"]["bond_denom"]="uhid"' > $HOME/.hid-node/config/tmp_genesis.json && mv $HOME/.hid-node/config/tmp_genesis.json $HOME/.hid-node/config/genesis.json
cat $HOME/.hid-node/config/genesis.json | jq '.app_state["ssi"]["chain_namespace"]="jagrat"' > $HOME/.hid-node/config/tmp_genesis.json && mv $HOME/.hid-node/config/tmp_genesis.json $HOME/.hid-node/config/genesis.json
hid-noded add-genesis-account $WALLET 100000000000uhid
don’t forget edit last 3 lines
hid-noded gentx $WALLET 100000000000uhid \
--chain-id jagrat \
--moniker="$NODENAME" \
--commission-max-change-rate=0.01 \
--commission-max-rate=1.0 \
--commission-rate=0.07 \
--min-self-delegation=100000000000 \
--details="i just copypasted code from manual without attention" \
--security-contact="<UR CONTACT>" \
--website="<UR SITE>"
Go to this repo and make a fork

run cd $HOME/.hid-node/config/gentx/ && ls and copy file name

go to your fork and create file with same name in folder<UR FORK NAME>/testnet/jagrat/gentx/

run cat example cat gentx-5cd888a5c37474ca778277cfd9dee7d24fe96094.json
copy and paste it in gentx file on github and press “commit new file” in bottom
run hid-noded tendermint show-node-id to get ID or your node and run curl ipinfo.io/ip to get your public IP
in your github create file peer-<validator-name>.txt in folder <UR FORK NAME>/testnet/jagrat/peers/
paste there information in format <node-id>@<publicly-reachable-ip>:<p2p-port> and “commit new file” *Example: *31a2699a153e60fcdbed8a47e060c1e1d4751616@57.135.32.88:26656

open pull request


WAIT FOR GENESIS to be continued…
First of all u have to sign up -=> here
than proceed
upgrade system
sudo apt update && sudo apt upgrade -y
install dependencies
sudo apt install curl build-essential git wget jq make gcc -y
install go
ver="1.18.3" # set ver.
cd $HOME
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile
source ~/.bash_profile
go version
Clone the repository
git clone https://github.com/hypersign-protocol/hid-node.git
Build the node
cd hid-node
make install
set vars
NODENAME=<PUT_YOUR_MONIKER_HERE>
echo "export NODENAME=$NODENAME" >> $HOME/.bash_profile
if [ ! $WALLET ]; then
echo "export WALLET=wallet" >> $HOME/.bash_profile
fi
source $HOME/.bash_profile
generate keys
hid-noded keys add $WALLET
or restore yours
hid-noded keys add $WALLET --recover
hid-noded init $NODENAME --chain-id jagrat
cat $HOME/.hid-node/config/genesis.json | jq '.app_state["crisis"]["constant_fee"]["denom"]="uhid"' > $HOME/.hid-node/config/tmp_genesis.json && mv $HOME/.hid-node/config/tmp_genesis.json $HOME/.hid-node/config/genesis.json
cat $HOME/.hid-node/config/genesis.json | jq '.app_state["gov"]["deposit_params"]["min_deposit"][0]["denom" ]="uhid"' > $HOME/.hid-node/config/tmp_genesis.json && mv $HOME/.hid-node/config/tmp_genesis.json $HOME/.hid-node/config/genesis.json
cat $HOME/.hid-node/config/genesis.json | jq '.app_state["mint"]["params"]["mint_denom"]="uhid"' > $HOME/.hid-node/config/tmp_genesis.json && mv $HOME/.hid-node/config/tmp_genesis.json $HOME/.hid-node/config/genesis.json
cat $HOME/.hid-node/config/genesis.json | jq '.app_state["staking"]["params"]["bond_denom"]="uhid"' > $HOME/.hid-node/config/tmp_genesis.json && mv $HOME/.hid-node/config/tmp_genesis.json $HOME/.hid-node/config/genesis.json
cat $HOME/.hid-node/config/genesis.json | jq '.app_state["ssi"]["chain_namespace"]="jagrat"' > $HOME/.hid-node/config/tmp_genesis.json && mv $HOME/.hid-node/config/tmp_genesis.json $HOME/.hid-node/config/genesis.json
hid-noded add-genesis-account $WALLET 100000000000uhid
don’t forget edit last 3 lines
hid-noded gentx $WALLET 100000000000uhid \
--chain-id jagrat \
--moniker="$NODENAME" \
--commission-max-change-rate=0.01 \
--commission-max-rate=1.0 \
--commission-rate=0.07 \
--min-self-delegation=100000000000 \
--details="i just copypasted code from manual without attention" \
--security-contact="<UR CONTACT>" \
--website="<UR SITE>"
Go to this repo and make a fork

run cd $HOME/.hid-node/config/gentx/ && ls and copy file name

go to your fork and create file with same name in folder<UR FORK NAME>/testnet/jagrat/gentx/

run cat example cat gentx-5cd888a5c37474ca778277cfd9dee7d24fe96094.json
copy and paste it in gentx file on github and press “commit new file” in bottom
run hid-noded tendermint show-node-id to get ID or your node and run curl ipinfo.io/ip to get your public IP
in your github create file peer-<validator-name>.txt in folder <UR FORK NAME>/testnet/jagrat/peers/
paste there information in format <node-id>@<publicly-reachable-ip>:<p2p-port> and “commit new file” *Example: *31a2699a153e60fcdbed8a47e060c1e1d4751616@57.135.32.88:26656

open pull request


WAIT FOR GENESIS to be continued…
don’t press next button if you don’t want to support me ;)
collect://
don’t press next button if you don’t want to support me ;)
collect://
No activity yet