SCRT tutorial: Redelegate from INACTIVE node to ACTIVE node using SecretCli (Windows + WSL Ubuntu)

Enable the Windows Subsystem for Linux

  1. Open “Control Panel” by typing it in search bar and pressing “Enter”.
  2. Click on the “Programs” option.
  3. Click on the “Programs and Features” option.
  4. Select the “Turn Windows Features On or OFF” option in the left pane.
  5. Scroll down and select “Windows Subsystem for Linux“.

Installing Ubuntu

Installing SecretCli

  1. Download SecretCli: Type in the command bellow and click enter (see pic.):
wget https://github.com/scrtlabs/SecretNetwork/releases/download/v1.2.2/secretnetwork_v1.2.2_mainnet_amd64.deb
sudo dpkg -i secret*.deb

Configure SecretCli:

secretcli config chain-id secret-4
secretcli config output json
secretcli config node http://20.51.225.193:26657
secretcli status

Import wallet and redelegate

secretcli keys add --recover test

Redelegate

  1. Validator address that we are redelegating FROM
  2. Validator address that we are redelegating TO
  3. And the correct amount to redelegate (Note: in the command we use uSCRT and 1 SCRT = 1,000,000 uSCRT)
secretcli tx staking redelegate secretvaloper13nddx75w3fggn8x6awf2u4wv30hha27lx64mec secretvaloper1lyafdwwzwfmjc8zhsew5pdcdu46na6pg09fql4 1000000uscrt --from=test --chain-id=secret-4 --gas=auto --gas-adjustment=1.15

Sources:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store