Empower is a blockchain for the Circular Economy. Decentralizing the new (circular) economy so everyone can get a fair share of the upside of making the world a cleaner and better place.
Official Site: https://www.empowerchain.io
Other links: https://linktr.ee/empowerchain
Chain ID: circulus-1
Endpoints
- Api: https://api-empower-testnet.sr20de.xyz
- RPC: https://rpc-empower-testnet.sr20de.xyz
- GRPC: https://grpc-empower-testnet.sr20de.xyz
Peers
1 |
5e8a0ef0c941f7b68f45610cf280ccc1a208e6d0@65.109.33.48:24656,6a5929b953d4a3a4e61d517fbffa32e82efbc348@172.171.227.154:26656,dba3f670184b13a877ec65fa6a7e83c9892734be@167.235.241.79:26656,d5c47557c82a74a08b4638c9332377320291255f@85.239.234.218:26656,4ce14af4b3266818335c16f3e737c075c4bafd1c@23.88.36.237:15056,f160e1794a44a22b7308a47a08dd32b59c18d073@194.163.190.179:26656,28a4b15414806021464765685abffdba751312e1@161.97.146.33:15056,64af1729ec239e6ac31fb77f50950e81a0e95b13@172.93.110.154:28656,ea27be17e6b89d0f1f29b391dd13a249a27eb924@45.84.138.223:26656,22f43ae42bc61f3cc26af28ed545d40a6e4834ac@195.201.239.70:26656,f46a79f1af91fd494bdca73114703de7ecda0107@84.21.171.23:15056,1c1f01388d5949d59f05cdf73d8f1582fdedcced@38.242.249.152:15056,eacf027320a33cd293ca0f33ba98baa1e5110d33@65.109.140.212:26656,da334a6aa812e11dc6139e81f36eaff102ced7fe@65.108.149.50:15056,fb22858ea2ab59dcc0307c3c523193b5b128987a@128.140.83.20:15056,bf115e9ae6eb4d8c31f4c5dd71055caa16af49bd@65.108.53.30:26656,a02d18062ac3264f1716b740977771c8b93ff748@149.102.157.5:21956,cdb6db17cb9b1f0f07f295b9427bd3cc12a36958@154.12.235.208:26656,3761b399ad83a851e2829ab2e29fff732003232b@68.183.124.35:26656,dd9943a15c32208c389df8cab4116f9734e04ab4@159.223.65.188:26656,570b904e03d97a09bfd3199e5ebedd79d2c16a59@194.163.133.140:56656,2863884988dfabcef90893f5f1eb301ac33681ff@64.225.106.74:26656,95ea7999e3ecd3fb7fd73fae70b3b29a6af24c8d@46.4.5.45:17456,4b0f531fcf1e79cf50f762699c0019095ca466bb@134.209.213.86:26656,0a0f25d0b5b0554673234e0c33c79fd679ce3393@144.91.86.61:15056,b6b51cdb24e39ac66776dafee8aeca9abb81665a@65.108.2.41:60756,85d73f6d3d00336fc187a1d9e9627ebd1f4cc92e@142.132.208.26:26656,ef4e2705d08fe79172381de8507c1c72758bb441@65.21.82.203:60556,67c11641d16871e4553f0bcaee1239a6d7da3b65@139.59.213.184:26656,647fc41052323f5c725597403b1d817b48c8d01d@109.205.182.224:38656,5ed1148e156b6cc9532ff1125dfcfb93cb2a44f1@38.242.159.140:26656,ac877ec4de91c481ea4f09791d730d73a2434d43@65.109.230.178:15056,31bac98536cfc4171b4d3adb4aa2e1c3188adebf@217.76.54.239:16656,8660a1220360f861a8402b49b9904409b0bf3e5f@178.18.253.235:26656,8d2c36df04b1d0642e23629873922c7fa44c094a@159.223.86.55:26656,f3c28bd97ece891bd86c2883c8256c42d0951321@178.63.8.245:56656,ef03123d21e641a240d5d73f05dc8e2ef8b4a834@209.38.216.20:26656,83de82c49719d29924a997129a4cb4ca7bb9ceae@95.216.14.58:56656,b97f525984e56646c5cc7c34a34c9ff924f5c39a@161.97.76.253:15056,20c90797ac04e6799eaa28ce8e7989d0143a2220@65.108.229.93:31656,007aac855b95382487d3770b7cdd63df65726b2f@65.109.99.238:56656,9d1b59b9773bd9275115d195ac5c59dc550fa346@65.109.146.243:27656,c075bade15eeade5d7b7f1e1949ab454b56fe0c9@85.190.246.173:15056,a42595cd22c9491a89386f83385398bdac65b16a@104.248.143.31:26656,bcde171f8be8b3069726608d1e1fdde367d2e191@65.109.82.112:20456,104f9b9e16f6cdf175fda0ac5d78a01796e2eb41@158.220.108.76:26656,380d0bc2801189e5f598286c18aebe9c9edfcdae@116.203.110.217:26656,cba11214b0e50479ea1bf06c939f11a2fd56f080@149.102.154.1:26656,e1150050358ed04cceabfa9b585094264cfc1fb1@86.48.30.243:15056,17a2d8b6ab329e60eba16abc17eccb1342f49a04@85.10.197.4:50656 |
Peer for state-sync
1 |
5a91f392a73fa2f53606eab932c2aefb145c6e67@46.17.250.43:26656 |
State sync
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
sudo systemctl stop empowerd empowerd tendermint unsafe-reset-all --home $HOME/.empowerchain --keep-addr-book SNAP_RPC="https://rpc-empower-testnet.sr20de.xyz: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) echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH sed -i 's|^enable *=.*|enable = true|' $HOME/.empowerchain/config/config.toml sed -i 's|^rpc_servers *=.*|rpc_servers = "'$SNAP_RPC,$SNAP_RPC'"|' $HOME/.empowerchain/config/config.toml sed -i 's|^trust_height *=.*|trust_height = '$BLOCK_HEIGHT'|' $HOME/.empowerchain/config/config.toml sed -i 's|^trust_hash *=.*|trust_hash = "'$TRUST_HASH'"|' $HOME/.empowerchain/config/config.toml |
Download wasm
1 |
curl -o - -L https://sr20de.xyz/wp-content/uploads/empower-testnet/sr20de_empower_wasm.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.empowerchain/ |
Restart node
1 |
sudo systemctl restart empowerd && sudo journalctl -u empowerd -f --no-hostname -o cat |
Node installation
Preparing the server
1 |
sudo apt update && sudo apt upgrade |
1 |
sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential git make gcc git jq chrony liblz4-tool -y |
Install GO
1 2 3 4 5 6 7 8 |
ver="1.20.3" 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" >> $HOME/.bash_profile source $HOME/.bash_profile go version |
Install Binary
1 2 3 4 5 |
git clone https://github.com/EmpowerPlastic/empowerchain cd empowerchain git checkout v1.0.0-rc3 cd chain make install |
Init config file
1 2 |
empowerd init Sr20de --chain-id circulus-1 empowerd config chain-id circulus-1 |
Add or recover wallet
1 2 |
empowerd keys add <walletName> empowerd keys add <walletName> --recover |
Download genesis
1 |
wget -O $HOME/.empowerchain/config/genesis.json "https://raw.githubusercontent.com/Sr20dem/Endpoints/main/genesis.json" |
Add minimum gas
1 |
sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0umpwr\"/" $HOME/.empowerchain/config/app.toml |
Add peers
1 2 |
peers="5a91f392a73fa2f53606eab932c2aefb145c6e67@46.17.250.43:26656,5e8a0ef0c941f7b68f45610cf280ccc1a208e6d0@65.109.33.48:24656,6a5929b953d4a3a4e61d517fbffa32e82efbc348@172.171.227.154:26656,dba3f670184b13a877ec65fa6a7e83c9892734be@167.235.241.79:26656,d5c47557c82a74a08b4638c9332377320291255f@85.239.234.218:26656" sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.empowerchain/config/config.toml |
Disable indexer (helps save disk space). Optional.
1 |
indexer="null" && sed -i -e "s/^indexer *=.*/indexer = \"$indexer\"/" $HOME/.empowerchain/config/config.toml |
Configur Pruning (helps save disk space). Optional
1 2 3 4 5 6 7 8 |
pruning="custom" && \ pruning_keep_recent="100" && \ pruning_keep_every="0" && \ pruning_interval="10" && \ sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.empowerchain/config/app.toml && \ sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.empowerchain/config/app.toml && \ sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.empowerchain/config/app.toml && \ sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.empowerchain/config/app.toml |
Create sercive file
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
sudo tee /etc/systemd/system/empowerd.service > /dev/null <<EOF [Unit] Description=Empower After=network-online.target [Service] User=$USER ExecStart=$(which empowerd) start Restart=always RestartSec=3 LimitNOFILE=4096 [Install] WantedBy=multi-user.target EOF |
Reload demons and start node
1 2 |
sudo systemctl daemon-reload && sudo systemctl enable empowerd sudo systemctl restart empowerd && journalctl -fu empowerd -o cat |
Create Validator
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
empowerd tx staking create-validator \ --amount=1000000umpwr \ --pubkey=$(empowerd tendermint show-validator) \ --moniker="<moniker>" \ --identity="<identity>" \ --website="<website>" \ --details="<details>" \ --security-contact="<contact>" \ --chain-id="circulus-1" \ --commission-rate="0.10" \ --commission-max-rate="0.20" \ --commission-max-change-rate="0.01" \ --min-self-delegation="1" \ --fees="0umpwr" \ --from=<wallet_name> |
Useful commands
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
#Sync Info empowerd status 2>&1 | jq .SyncInfo #NodeINfo empowerd status 2>&1 | jq .NodeInfo #Check node logs empowerd journalctl -u junod -f -o cat #Check Balance empowerd query bank balances <wallet> #Validator info empowerd query staking validator <valoper-address> --chain-id circulus-1 #Delegate to validator empowerd tx staking delegate <valoper-address> 1000000umpwr --chain-id circulus-1 --from <wallet-name> --gas=auto #Withdraw rewards with commisions empowerd tx distribution withdraw-rewards <valoper-address> --from <wallet-name> --chain-id circulus-1 --commission --yes #Unjail empowerd tx slashing unjail --from <wallet_name> --chain-id circulus-1 #Vote empowerd tx gov vote 1 yes --from <wallet_name> --chain-id circulus-1 |