top of page

Islamic Coin

Islamic Coin is a native currency of Haqq, a community-run network, dedicated to empowering an ethics-first Shariah-compliant financial ecosystem. Islamic Coin has a finite total supply and 10% of each issuance is automatically dedicated for philanthropic purposes

Chain ID: haqq_54211-3

Website: islamiccoin.net

Public Endpoints:

✅ RPC

rpc.haqq.ppnv.space:20657

✅ API / REST

 api.haqq.ppnv.space 

✅ gRPC

grpc.haqq.ppnv.space:20090

✅ gRPC Web

grpc.haqq.ppnv.space:20091

Genesis:

curl -Ls https://service.ppnv.space/haqq/genesis.json > $HOME/.haqqd/config/genesis.json

Peering:

✅ Seed Node

✅ Live Peers

✅ Addrbook #update every hour

curl -Ls https://service.ppnv.space/haqq/addrbook.json > $HOME/.haqqd/config/addrbook.json

✅ State Sync #snapshot-interval = 1000

sudo systemctl stop haqqd
cp $HOME/.haqqd/data/priv_validator_state.json $HOME/.haqqd/priv_validator_state.json.backup
haqqd tendermint unsafe-reset-all --home $HOME/.haqqd
STATE_SYNC_RPC=http://rpc.haqq.ppnv.space:20657
STATE_SYNC_PEER=48a2a7762a579d25bca95b0a3548b714238dd60b@rpc.haqq.ppnv.space:20656
LATEST_HEIGHT=$(curl -s $STATE_SYNC_RPC/block | jq -r .result.block.header.height)
SYNC_BLOCK_HEIGHT=$(($LATEST_HEIGHT - 1000))
SYNC_BLOCK_HASH=$(curl -s "$STATE_SYNC_RPC/block?height=$SYNC_BLOCK_HEIGHT" | jq -r .result.block_id.hash)
sed -i.bak -e "s|^enable *=.*|enable = true|" $HOME/.haqqd/config/config.toml
sed -i.bak -e "s|^rpc_servers *=.*|rpc_servers = \"$STATE_SYNC_RPC,$STATE_SYNC_RPC\"|" \
  $HOME/.haqqd/config/config.toml
sed -i.bak -e "s|^trust_height *=.*|trust_height = $SYNC_BLOCK_HEIGHT|" \
  $HOME/.haqqd/config/config.toml
sed -i.bak -e "s|^trust_hash *=.*|trust_hash = \"$SYNC_BLOCK_HASH\"|" \
  $HOME/.haqqd/config/config.toml
sed -i.bak -e "s|^persistent_peers *=.*|persistent_peers = \"$STATE_SYNC_PEER\"|" \
  $HOME/.haqqd/config/config.toml
mv $HOME/.haqqd/priv_validator_state.json.backup $HOME/.haqqd/data/priv_validator_state.json
sudo systemctl restart haqqd && journalctl -u haqqd -f --no-hostname -o cat

bottom of page