Chain ID:
Version Tag:
Binary Name:
c4ed
Binary Home:
.c4e-chain
Mint Denom:
Bond Denom:
Decimals:
APR:
Base Inflation:
Bonded Ratio:
Tendermint Version:
Cosmos SDK Version:
Authz Module:
Wasm Enabled:
Cosmwasm Version:
Max Validators:
Unbonding Time:
Downtime Jail Duration:
Min Signed Per Window:
Signed Blocks Window:
Slash Fraction Double Sign:
Slash Fraction Downtime:
Historical Entries:
Max Entries:
A modular blockchain ⛓ built for decentralized energy⚡️

    
Özellik Değer
Snapshot Info

Stop the service and reset the data
sudo systemctl stop c4ed
cp $HOME/.c4e-chain/data/priv_validator_state.json $HOME/.c4e-chain/priv_validator_state.json.backup
rm -rf $HOME/.c4e-chain/data
      
Download latest snapshot
curl -L https://services.bccnodes.com/mainnets/c4e/c4e.tar.lz4| tar -Ilz4 -xf - -C $HOME/.c4e-chain
mv $HOME/.c4e-chain/priv_validator_state.json.backup $HOME/.c4e-chain/data/priv_validator_state.json
      
Restart the service and check the log
sudo systemctl restart c4ed && sudo journalctl -u c4ed -f --no-hostname -o cat
          

Stop the service and reset the data   
            
sudo systemctl stop c4ed
cp $HOME/.c4e-chain/data/priv_validator_state.json $HOME/.c4e-chain/priv_validator_state.json.backup
c4ed tendermint unsafe-reset-all --home $HOME/.c4e-chain --keep-addr-book
              
Get and configure the state sync information
              
SNAP_RPC="https://c4e.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/.c4e-chain/config/config.toml
                          
mv $HOME/.c4e-chain/priv_validator_state.json.backup $HOME/.c4e-chain/data/priv_validator_state.json
            
Restart the service and check the log
                          
sudo systemctl restart c4ed && sudo journalctl -u c4ed -f --no-hostname -o cat
                        


Download Addrbook
            
curl -Ls https://services.bccnodes.com/mainnets/c4e/addrbook.json > $HOME/.c4e-chain/config/addrbook.json
            
Restart the service and check the log
                          
sudo systemctl restart c4ed && sudo journalctl -u c4ed -f --no-hostname -o cat
                        


Download Genesis
            
curl -Ls https://services.bccnodes.com/mainnets/c4e/genesis.json > $HOME/.c4e-chain/config/genesis.json
             
Restart the service and check the log
            
sudo systemctl restart c4ed && sudo journalctl -u c4ed -f --no-hostname -o cat
                        

Set fresh peers    
            
livepeers=$(curl -s https://services.bccnodes.com/mainnets/c4e/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$livepeers\"/" ~/.c4e-chain/config/config.toml
            
Restart the service and check the log
                        
sudo systemctl restart c4ed && sudo journalctl -u c4ed -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 c4e-chain
git clone https://github.com/chain4energy/c4e-chain
cd c4e-chain
git checkout v1.2.0
make install
              
Initialize Node
              
c4ed config chain-id perun-1
c4ed init "BccNodesGuide" --chain-id perun-1
            
Download genesis and addrbook
              
curl -Ls https://services.bccnodes.com/mainnets/c4e/genesis.json > $HOME/.c4e-chain/config/genesis.json
curl -Ls https://services.bccnodes.com/mainnets/c4e/addrbook.json > $HOME/.c4e-chain/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/.c4e-chain/config/app.toml

Indexer (optional)
            
indexer="null" && \
sed -i -e "s/^indexer *=.*/indexer = \"$indexer\"/" $HOME/.c4e-chain/config/config.toml
            
Set minimum gas price
              
sed -i 's|^minimum-gas-prices *=.*|minimum-gas-prices = "0.0001uc4e"|g' $HOME/.c4e-chain/config/app.toml
            
Enable prometheus
            
sed -i 's|^prometheus *=.*|prometheus = true|' $HOME/.c4e-chain/config/config.toml
            
Create service
              
sudo tee /etc/systemd/system/c4ed.service > /dev/null << EOF
[Unit]
Description=c4e 
After=network-online.target
[Service]
User=$USER
ExecStart=$(which c4ed) start
Restart=on-failure
RestartSec=10
LimitNOFILE=10000
[Install]
WantedBy=multi-user.target
EOF
            
Start service
            
sudo systemctl daemon-reload
sudo systemctl enable c4ed
sudo systemctl start c4ed
            
sudo journalctl -u c4ed -f

Create a validator
            
c4ed tx staking create-validator \
--amount 1000000uc4e \
--commission-max-change-rate "0.1" \
--commission-max-rate "0.20" \
--commission-rate "0.1" \
--min-self-delegation "1" \
--pubkey=$(c4ed tendermint show-validator) \
--moniker BccNodesGuide \
--chain-id perun-1 \
--gas-prices=0.1uc4e \
--gas-adjustment=1.5 \
--gas=auto \
--from wallet  
              

            

Key Management

Replace the wallet value in the codes with your own wallet name.

Add New Key c4ed keys add wallet Recover existing key c4ed keys add wallet --recover List All Keys c4ed keys list Delete Key c4ed keys delete wallet Export Key (save to wallet.backup) c4ed keys export wallet Import Key c4ed keys import wallet wallet.backup Export Key (save to wallet.backup) c4ed q bank balances $(c4ed keys show wallet -a)

Validator Management

Please adjust --identity , --details , --moniker , --security-contact , --from

Create a New Validator c4ed tx staking create-validator \ --amount=1000000uc4e \ --pubkey=$(c4ed tendermint show-validator) \ --moniker="BccNodesGuide" \ --identity=XXXXXXX \ --details="XXXXXXX" \ --chain-id=perun-1 \ --security-contact="XXXXXXX" \ --commission-rate=0.10 \ --commission-max-rate=0.20 \ --commission-max-change-rate=0.01 \ --min-self-delegation=1 \ --from=wallet \ --gas-prices=0.1uc4e \ --gas-adjustment=1.5 \ --gas=auto \ -y Edit Existing Validator c4ed tx staking edit-validator \ --new-moniker="BccNodesGuide" \ --identity=XXXXXXX \ --details="XXXXXXX" \ --chain-id=perun-1 \ --commission-rate=0.1 \ --from=wallet \ --gas-prices=0.1uc4e \ --gas-adjustment=1.5 \ --gas=auto \ -y Unjail Validator c4ed tx slashing unjail --from wallet --chain-id perun-1 --gas-prices 0.1uc4e --gas-adjustment 1.5 --gas auto -y Signing Info (Jailed Reason) c4ed query slashing signing-info $(c4ed tendermint show-validator) List All Active Validators c4ed 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 c4ed q staking validator $(c4ed keys show wallet --bech val -a)

Tokens Management

Please adjust TO_VALOPER_ADDRESS , --from

Withdraw Rewards From All Validators c4ed tx distribution withdraw-all-rewards --from wallet --chain-id perun-1 --gas-prices 0.1uc4e --gas-adjustment 1.5 --gas auto -y Withdraw Commission And Rewards From Your Validator c4ed tx distribution withdraw-rewards $(c4ed keys show wallet --bech val -a) --commission --from wallet --chain-id perun-1 --gas-prices 0.1uc4e --gas-adjustment 1.5 --gas auto -y 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-prices 0.1uc4e --gas-adjustment 1.5 --gas auto -y Delegate Token to other validator c4ed tx staking delegate YOUR_TO_VALOPER_ADDRESS 1000000uc4e --from wallet --chain-id perun-1 --gas-prices 0.1uc4e --gas-adjustment 1.5 --gas auto -y Unbond Token from your validator c4ed tx staking redelegate $(c4ed keys show wallet --bech val -a) YOUR_TO_VALOPER_ADDRESS 1000000uc4e --from wallet --chain-id perun-1 --gas-prices 0.1uc4e --gas-adjustment 1.5 --gas auto -y Send Token to another wallet c4ed tx bank send wallet TO_WALLET_ADDRESS 1000000uuc4e --from wallet --chain-id perun-1 Delegate Token to other validator c4ed tx staking delegate YOUR_TO_VALOPER_ADDRESS 1000000uc4e --from wallet --chain-id perun-1 --gas-prices 0.1uc4e --gas-adjustment 1.5 --gas auto -y

Governance

Please adjust ---description , --title , --from

Create New Text Proposal c4ed tx gov submit-proposal \ --title="Title" \ --description="Description" \ --deposit=1000000uc4e \ --type="Text" \ --from=wallet \ --gas-prices=0.1uc4e \ --gas-adjustment=1.5 \ --gas=auto \ -y List All Proposals c4ed query gov proposals View Proposal By ID (e.g 20) c4ed query gov proposal 20 Vote [yes/no/no_with_veto/abstain] c4ed tx gov vote 20 [yes/no/no_with_veto/abstain] --chain-id perun-1 --from wallet

Utility

Update Indexer sed -i 's|^indexer *=.*|indexer = "kv"|' $HOME/.c4e-chain/config/config.toml sed -i 's|^indexer *=.*|indexer = "null"|' $HOME/.c4e-chain/config/config.toml Get Validator Info c4ed status 2>&1 | jq .ValidatorInfo Get Denom Info c4ed q bank denom-metadata -oj | jq Get Sync Status c4ed status 2>&1 | jq .SyncInfo.catching_up Get Latest Height c4ed status 2>&1 | jq .SyncInfo.latest_block_height Get Peer echo $(c4ed tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.c4e-chain/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//') Remove Node sudo systemctl stop c4ed && sudo systemctl disable c4ed && sudo rm /etc/systemd/system/c4ed.service && sudo systemctl daemon-reload && rm -rf $HOME/.c4e-chain && rm -rf rebus.core && sudo rm -rf $(which c4ed)

Service Management

Reload Services sudo systemctl daemon-reload Enable Service sudo systemctl enable c4ed Disable Service sudo systemctl disable c4ed Start Service sudo systemctl start c4ed Stop Service sudo systemctl stop c4ed Restart Service sudo systemctl restart c4ed Check Service Status sudo systemctl status c4ed Check Service Logs sudo journalctl -u c4ed -f --no-hostname -o cat

API
https://c4e.api.bccnodes.com/
            
RPC
https://c4e.rpc.bccnodes.com/
            
gRPC
c4e.grpc.bccnodes.com:443
    
icon

1,255+

Number of delegators

icon

$721,839+

Total staked assets

icon

19

Supported networks

Let's Discuss your Projects

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 Us

Our Partners

If 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.

Team

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.

Berk Cakar

Founder

Abdullah Yakis

DevOps Engineer

Gokmen Kesen

Content Writer

FAQ's

The answers are here!

Founded in early 2022, BccNodes is a trusted Proof-of-Stake infrastructure provider and validator. Continues to secure user funds with its secure validation infrastructure and team members with high experience in Cosmos networks. BccNodes is focusing in secure their infrastructure with the highest standards and build a strong community to accelerate the adoption and help projects growth.

Staking is the process of securing a digital asset to ensure economic stability for a public blockchain. You have the ability to contribute to the network's security, granting you the right to vote on governance proposals and to receive staking rewards.

In the worst case scenario, if a validator node accidentally misbehaves, you may incur a penalty that will affect your stake returns or a portion of your funds. However, the BccNodes team has security measures in place for all possible scenarios, but we still have a wallet that will return user funds if something like this happens.

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.

Let's Discuss your Projects

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 Us

Blogs

Our latest articles

Contact Us

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.

Address:

based in

Istanbul, Turkey

Email:

contact@bccnodes.com