Stake via Restake
How to stake Realio tokens via Restake?
Stake via Keplr
Stake via Restake
Stake via Keplr
Özellik
Değer
Snapshot Info
Stop the service and reset the data
sudo systemctl stop realio-networkd
cp $HOME/.realio-network/data/priv_validator_state.json $HOME/.realio-network/priv_validator_state.json.backup
rm -rf $HOME/.realio-network/data
Download latest snapshot
curl -L https://services.bccnodes.com/mainnets/realio/realio.tar.lz4| tar -Ilz4 -xf - -C $HOME/.realio-network
mv $HOME/.realio-network/priv_validator_state.json.backup $HOME/.realio-network/data/priv_validator_state.json
Restart the service and check the log
sudo systemctl restart realio-networkd && sudo journalctl -u realio-networkd -f --no-hostname -o cat
Stop the service and reset the data
sudo systemctl stop realio-networkd
cp $HOME/.realio-network/data/priv_validator_state.json $HOME/.realio-network/priv_validator_state.json.backup
realio-networkd tendermint unsafe-reset-all --home $HOME/.realio-network --keep-addr-book
Get and configure the state sync information
SNAP_RPC="https://realio.rpc.bccnodes.com:443"
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" $HOME/.realio-network/config/config.toml
mv $HOME/.realio-network/priv_validator_state.json.backup $HOME/.realio-network/data/priv_validator_state.json
Restart the service and check the log
sudo systemctl restart realio-networkd && sudo journalctl -u realio-networkd -f --no-hostname -o cat
Download Addrbook
curl -Ls https://services.bccnodes.com/mainnets/realio/addrbook.json > $HOME/.realio-network/config/addrbook.json
Restart the service and check the log
sudo systemctl restart realio-networkd && sudo journalctl -u realio-networkd -f --no-hostname -o cat
Download Genesis
curl -Ls https://services.bccnodes.com/mainnets/realio/genesis.json > $HOME/.realio-network/config/genesis.json
Restart the service and check the log
sudo systemctl restart realio-networkd && sudo journalctl -u realio-networkd -f --no-hostname -o cat
Set fresh peers
livepeers=$(curl -s https://services.bccnodes.com/mainnets/realio/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$livepeers\"/" ~/.realio-network/config/config.toml
Restart the service and check the log
sudo systemctl restart realio-networkd && sudo journalctl -u realio-networkd -f --no-hostname -o cat
Update packages & Install dependencies
sudo apt update && sudo apt upgrade -y
sudo apt install curl build-essential git wget jq make gcc tmux chrony lz4 -y
Install GO
sudo rm -rf /usr/local/go
curl -Ls https://go.dev/dl/go1.19.10.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
eval $(echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee /etc/profile.d/golang.sh)
eval $(echo 'export PATH=$PATH:$HOME/go/bin' | tee -a $HOME/.profile)
Download and build binaries
cd $HOME
rm -rf realio-network/
git clone https://github.com/realiotech/realio-network.git
cd realio-network
git checkout v1.3.1
make install
Initialize Node
realio-networkd config chain-id realionetwork_3301-1
realio-networkd init "BccNodesGuide" --chain-id realionetwork_3301-1
Download genesis and addrbook
curl -Ls https://services.bccnodes.com/mainnets/realio/genesis.json > $HOME/.realio-network/config/genesis.json
curl -Ls https://services.bccnodes.com/mainnets/realio/addrbook.json > $HOME/.realio-network/config/addrbook.json
Config pruning
sed -i \
-e 's|^pruning *=.*|pruning = "custom"|' \
-e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' \
-e 's|^pruning-keep-every *=.*|pruning-keep-every = "0"|' \
-e 's|^pruning-interval *=.*|pruning-interval = "10"|' \
$HOME/.realio-network/config/app.toml
Indexer (optional)
indexer="null" && \
sed -i -e "s/^indexer *=.*/indexer = \"$indexer\"/" $HOME/.realio-network/config/config.toml
Set minimum gas price
sed -i 's|^minimum-gas-prices *=.*|minimum-gas-prices = "0.0001ario"|g' $HOME/.realio-network/config/app.toml
Enable prometheus
sed -i 's|^prometheus *=.*|prometheus = true|' $HOME/.realio-network/config/config.toml
Create service
sudo tee /etc/systemd/system/realio-networkd.service > /dev/null << EOF
[Unit]
Description=realio Node
After=network-online.target
[Service]
User=$USER
ExecStart=$(which realio-networkd) start
Restart=on-failure
RestartSec=10
LimitNOFILE=10000
[Install]
WantedBy=multi-user.target
EOF
Start service
sudo systemctl daemon-reload
sudo systemctl enable realio-networkd
sudo systemctl start realio-networkd
sudo journalctl -u realio-networkd -f
Create a validator
realio-networkd tendermint show-validator --home /root/.realio-network
cd $HOME
nano /root/.realio-network/validator.json
{
"pubkey": {"#pubkey"},
"amount": "1000000ario",
"moniker": "BccNodesGuide",
"identity": "xxxxxxxx",
"website": "xxxxxxxx/",
"security": "xxxxxxxx",
"details": "xxxxxxxx",
"commission-rate": "0.05",
"commission-max-rate": "0.2",
"commission-max-change-rate": "0.1",
"min-self-delegation": "1"
}
realio-networkd --home /root/.realio-network tx staking create-validator /root/.realio-network/validator.json --from wallet-name --chain-id realionetwork_3301-1 --gas-prices=0.001ario --gas-adjustment=1.5 --gas=auto -y
Key Management
Replace the wallet value in the codes with your own wallet name.
Add New Key
realio-networkd keys add wallet
Recover existing key
realio-networkd keys add wallet --recover
List All Keys
realio-networkd keys list
Delete Key
realio-networkd keys delete wallet
Export Key (save to wallet.backup)
realio-networkd keys export wallet
Import Key
realio-networkd keys import wallet wallet.backup
Export Key (save to wallet.backup)
realio-networkd q bank balances $(realio-networkd keys show wallet -a)
Validator Management
Please adjust --identity , --details , --moniker , --security-contact , --from
Create a New Validator
realio-networkd tendermint show-validator --home /root/.realio-network
cd $HOME
nano /root/.realio-network/validator.json
{
"pubkey": {"#pubkey"},
"amount": "1000000ario",
"moniker": "BccNodesGuide",
"identity": "xxxxxxxx",
"website": "xxxxxxxx/",
"security": "xxxxxxxx",
"details": "xxxxxxxx",
"commission-rate": "0.05",
"commission-max-rate": "0.2",
"commission-max-change-rate": "0.1",
"min-self-delegation": "1"
}
realio-networkd --home /root/.realio-network tx staking create-validator /root/.realio-network/validator.json --from wallet-name --chain-id realionetwork_3301-1 --gas-prices=0.001ario --gas-adjustment=1.5 --gas=auto -y
Edit Existing Validator
realio-networkd tx staking edit-validator \
--new-moniker="BccNodesGuide" \
--identity=XXXXXXX \
--details="XXXXXXX" \
--chain-id=realionetwork_3301-1 \
--commission-rate=0.1 \
--from=wallet \
--gas-prices=0.1ario \
--gas-adjustment=1.5 \
--gas=auto \
-y
Unjail Validator
realio-networkd tx slashing unjail --from wallet --chain-id realionetwork_3301-1 --gas-prices 0.1ario --gas-adjustment 1.5 --gas auto -y
Signing Info (Jailed Reason)
realio-networkd query slashing signing-info $(realio-networkd tendermint show-validator)
List All Active Validators
realio-networkd q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl
View Validator Details
realio-networkd q staking validator $(realio-networkd keys show wallet --bech val -a)
Tokens Management
Please adjust TO_VALOPER_ADDRESS , --from
Withdraw Rewards From All Validators
realio-networkd tx distribution withdraw-all-rewards --from wallet --chain-id realionetwork_3301-1 --gas-prices 0.1ario --gas-adjustment 1.5 --gas auto -y
Withdraw Commission And Rewards From Your Validator
realio-networkd tx distribution withdraw-rewards $(realio-networkd keys show wallet --bech val -a) --commission --from wallet --chain-id realionetwork_3301-1 --gas-prices 0.1ario --gas-adjustment 1.5 --gas auto -y
Delegate Token to your own validator
realio-networkd tx staking delegate $(realio-networkd keys show wallet --bech val -a) 1000000ario --from wallet --chain-id realionetwork_3301-1 --gas-prices 0.1ario --gas-adjustment 1.5 --gas auto -y
Delegate Token to other validator
realio-networkd tx staking delegate YOUR_TO_VALOPER_ADDRESS 1000000ario --from wallet --chain-id realionetwork_3301-1 --gas-prices 0.1ario --gas-adjustment 1.5 --gas auto -y
Unbond Token from your validator
realio-networkd tx staking redelegate $(realio-networkd keys show wallet --bech val -a) YOUR_TO_VALOPER_ADDRESS 1000000ario --from wallet --chain-id realionetwork_3301-1 --gas-prices 0.1ario --gas-adjustment 1.5 --gas auto -y
Send Token to another wallet
realio-networkd tx bank send wallet TO_WALLET_ADDRESS 1000000uario --from wallet --chain-id realionetwork_3301-1
Delegate Token to other validator
realio-networkd tx staking delegate YOUR_TO_VALOPER_ADDRESS 1000000ario --from wallet --chain-id realionetwork_3301-1 --gas-prices 0.1ario --gas-adjustment 1.5 --gas auto -y
Governance
Please adjust ---description , --title , --from
Create New Text Proposal
realio-networkd tx gov submit-proposal \
--title="Title" \
--description="Description" \
--deposit=1000000ario \
--type="Text" \
--from=wallet \
--gas-prices=0.1ario \
--gas-adjustment=1.5 \
--gas=auto \
-y
List All Proposals
realio-networkd query gov proposals
View Proposal By ID (e.g 20)
realio-networkd query gov proposal 20
Vote [yes/no/no_with_veto/abstain]
realio-networkd tx gov vote 20 [yes/no/no_with_veto/abstain] --chain-id realionetwork_3301-1 --from wallet
Utility
Update Indexer
sed -i 's|^indexer *=.*|indexer = "kv"|' $HOME/.realio-network/config/config.toml
sed -i 's|^indexer *=.*|indexer = "null"|' $HOME/.realio-network/config/config.toml
Get Validator Info
realio-networkd status 2>&1 | jq .ValidatorInfo
Get Denom Info
realio-networkd q bank denom-metadata -oj | jq
Get Sync Status
realio-networkd status 2>&1 | jq .SyncInfo.catching_up
Get Latest Height
realio-networkd status 2>&1 | jq .SyncInfo.latest_block_height
Get Peer
echo $(realio-networkd tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.realio-network/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Remove Node
sudo systemctl stop realio-networkd && sudo systemctl disable realio-networkd && sudo rm /etc/systemd/system/realio-networkd.service && sudo systemctl daemon-reload && rm -rf $HOME/.realio-network && rm -rf rebus.core && sudo rm -rf $(which realio-networkd)
Service Management
Reload Services
sudo systemctl daemon-reload
Enable Service
sudo systemctl enable realio-networkd
Disable Service
sudo systemctl disable realio-networkd
Start Service
sudo systemctl start realio-networkd
Stop Service
sudo systemctl stop realio-networkd
Restart Service
sudo systemctl restart realio-networkd
Check Service Status
sudo systemctl status realio-networkd
Check Service Logs
sudo journalctl -u realio-networkd -f --no-hostname -o cat
API
https://realio.lcd.bccnodes.com/
RPC
https://realio.rpc.bccnodes.com/
gRPC
realio.grpc.bccnodes.com:10990
Seed
6b236897e8c5f5de93f65c7299dff990ee5fcb45@realio.seed.bccnodes.com:45656
1,255+
Number of delegators
$721,839+
Total staked assets
19
Supported networks
We pride ourselves with our ability to perform and deliver results. Use the form below to discuss your project needs with our team, we will get back asap
Contact UsIf you are interested in the possibility of establishing a long-term partnership with our team or if you have any questions, please feel free to contact us at contact@bccnodes.com.
Our team is made up of experienced individuals and entrepreneurs from a range of disciplines, including blockchain, product development, marketing, and design, who all share a passion for creating positive social impact through the power of web3 and blockchain technology.
The answers are here!
There are multiple options for staking on a Cosmos ecosystem. For a detailed guide, we invite you to review our article at the following link.
We pride ourselves with our ability to perform and deliver results. Use the form below to discuss your project needs with our team, we will get back asap
Contact UsOur latest articles
OKP4 token
Meet Stride
Meet OKP4
About Massa
Stake via Restake
Stake via Keplr
Stake via Keplr
If you still have questions for us, please fill out this form or contact us directly by e-mail at contact@bccnodes.com. We will be happy to answer your questions.
based in
Istanbul, Turkey
contact@bccnodes.com