Web 3.0 Energy Marketplace. Chain4Energy is a revolutionary Web 3.0 Energy Marketplace for the global energy economy. We remove obstacles and incentives deployment of RES and accelerate the transition towards the NET ZERO goal

Chain ID: perun-1

Website: c4e.io

Check the Status of Validator :

source $HOME/.bash_profile
c4ed status 2>&1 | jq .SyncInfo

For Checking Logs :

journalctl -u c4ed -f -o cat

Delegate Token to your own validator

c4ed tx staking delegate $(c4ed keys show wallet --bech val -a) 1000000uc4e --from wallet --chain-id perun-1 --gas-adjustment="1.4" --gas auto --fees 250uc4e -y

Delegate Token to other validator

c4ed tx staking redelegate $(c4ed keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000uc4e --from wallet --chain-id perun-1 --gas-adjustment="1.4" --gas auto --fees 250uc4e -y

Governance

Vote You can change the value of yes to no,abstain,nowithveto

c4ed tx gov vote 1 yes --from wallet --chain-id perun-1 --gas-adjustment="1.4" --gas auto --fees 250uc4e -y

Coinstamp RPC

http://65.109.163.248:36657/

Coinstamp API

http://65.109.163.248:1317/

Coinstamp GRPC

http://65.109.163.248:9190/

wget -O $HOME/.c4e-chain/config/genesis.json “https://raw.githubusercontent.com/chain4energy/c4e-chains/main/perun-1/genesis.json”

# check genesis

sha256sum ~/.c4e-chain/config/genesis.json

# 6c736993a681a6759d3ec41550995fe04f48dd332d03375d879f3b464c6ceabf

1806b14c2f3c044b7ff023816d3eeea5be3c2648@51.89.7.184:26636,67d031b6d8438f53688e2281b9f1848c187ff7ed@178.128.42.132:26030,2f6141859c28c088514b46f7783509aeeb87553f@141.94.193.12:11656,d9b513e9b94d8d1cfba3dd0cddff25c0ded95b6e@212.23.222.175:26656,941c645dbcd654c9179040165834a5df19a0d308@137.74.0.193:26656,5a0e2f1a0541ba34cab61f64b62faaeb4113f2df@65.108.6.45:61056,796f5bd182d26d677a652c551aeccf8bedbb370b@145.239.2.101:26656,61a1e4bbc0844df04b8938c17f15f307e5f89cc9@65.21.247.218:26656,06adb18017d6c1041220e4bc3f2a85641f1f2979@172.105.229.177:26656,d81f51b4a1aae66792fb1717589fa28975f328b0@164.68.125.243:26656,2ce629fbc34f627ebfb522b9734821bfd9692867@174.45.46.27:26636,08f79f2c6de12eb253d1506f217cf9051f11d7e9@38.242.252.175:26656,8e793ab3b523052f77f96c606a578aeeef04af82@65.109.92.7:26656,a9bdcae2527c4a27a6f4882e852329241a945699@46.4.81.204:30656,1b802d4616c1de3fa687ad0d671b1b9d64754a44@88.198.49.217:26156,85acd1e5580c950f5ede07c3da4bd814d42cf323@95.179.190.59:26656,43ae9da1cde0f79c2104d5cc995f246aaa160e02@65.109.54.228:26656,717c041cf112f778508033e99a16288ec9d034c8@95.217.35.186:60756,58923ec776ca59ace9ede4a7211cd1013ae440da@144.76.97.251:33656,204d03cc33d4d332f0abd3e4553360fa4e49fbc8@18.189.8.17:26656,fc64ef27a9db02a3c19d5a0393054f7b294f50a4@138.201.127.91:26676,f98c07203f16f60046f4dee9d5c439a5f3918fc2@69.197.43.9:26656,eb6d4504241599224cd4e9e3c28a0d7d6dce0bab@139.144.96.120:26656,bb9cbee9c391f5b0744d5da0ea1abc17ed0ca1b2@159.69.56.25:26656,37f3f290c59dcce9109ac828e9839dc9c22be718@188.34.134.24:26656,7c7c5158c5b67797f85a4e376db8b79da0dadbac@212.109.147.99:26656,6273a979798e3ec7e325da010e2120d4d6d9bdb7@84.244.95.248:26656,d91abea75a3e9431a515014dc5644a3aa2e97420@212.232.29.237:26656,792dd2a1b100cd9e8c2b724722e7b0964ef5b107@138.201.85.176:10156,d1c10bb6a139ddb29af596fc888bd57c143124b7@93.189.30.124:26656,1b67fc3a7d8628174ab45f3b054db5239e20ce42@65.108.126.21:26656,b8cb8d1e67a08e48b97beb3f967566ac0ea73b73@65.109.104.118:26656,9c1a9a31007319cd01ccb29e6a10f650744e5392@65.21.172.60:46656,bf78d9bd64cf7e83357966aa3b4ca19d996ef1ef@51.75.55.49:26656,78b45009d113368be8584021b5948925276dab0a@85.190.254.14:26656,68a611fc1d17612e4de6b1232d04568ea3c20a19@77.55.216.80:26656,5b62ff6035d9c8143c0ebf4fe05fa0b22d96bb05@213.239.216.252:13656,3d75b4da612395d69ef58a0f6dbb851bd98c1962@185.144.99.246:26656,45609bc656da7079030961e1748b4948a4b9184f@144.217.253.124:46656,9e5330c3ef248301d81ac18f0634e6d8643a477d@176.9.44.113:26696,cff10605b619e5119a1c9d53397a798de8fbf83b@64.227.136.63:26656,b93030a1a3e9d8fb2bc095527f50ca6e07971667@194.126.173.158:26656,81a3c179ee820d291adebc215d5d1af95b887ec8@65.109.30.185:26656,3c6553a3c45477c2a9902e54069bee7109318b9d@163.172.18.144:26656,3ef7e5e7e163500af9baf53480779448461dac18@185.245.182.192:46656,8bea0b2075b23e2030fe2c07a34bfdf41a9d241e@154.26.130.207:26656,fe9a629d1bb3e1e958b2013b6747e3dbbd7ba8d3@149.102.130.176:26656,998c7924d2656e2bfe2f65bf4c9e2b96c07433ee@65.108.238.61:16656,01848a425e8be0550b047da9266782e9a4a6c235@5.181.190.157:26656,33b935203f51880e2ad539917e5e3ccd920ac58b@208.87.129.144:26656
8e002ff6811e18bc6686beb4e3f15038ef6a35d3@65.109.163.248:36656

SNAP_RPC=”https://rpc.c4e.coinstamp.me:443″

LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \

BLOCK_HEIGHT=$((LATEST_HEIGHT – 1000)); \

TRUST_HASH=$(curl -s “$SNAP_RPC/block?height=$BLOCK_HEIGHT” | jq -r .result.block_id.hash)

echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

sudo systemctl stop c4ed

c4ed tendermint unsafe-reset-all –home ~/.c4e-chain/

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\”| ; \

s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\”\”|” ~/.c4e-chain/config/config.toml

more ~/.c4e-chain/config/config.toml | grep ‘rpc_servers’

more ~/.c4e-chain/config/config.toml | grep ‘trust_height’

more ~/.c4e-chain/config/config.toml | grep ‘trust_hash’

sudo systemctl restart c4ed

journalctl -u c4ed -f -o cat