Skip to content

Commit

Permalink
haqq network added (#37)
Browse files Browse the repository at this point in the history
* _category_.json created

* position updated

* position updated

* position updated

* endpoints.mdx created

* index.mdx created

* haqq.png created

* img added

* _category_.json created

* snapshot.md created

* state-sync.mdx created

* peers-seeds.mdx created

* addrbook.mdx created

* _category_.json created

* explorers.md created

* explorers.md updated

* explorers.md updated

* other-tools.md created

* other-tools.md updated

* endpoints.mdx updated
  • Loading branch information
redwest88 authored Oct 13, 2023
1 parent 9b11c4e commit d76388f
Show file tree
Hide file tree
Showing 15 changed files with 352 additions and 3 deletions.
4 changes: 4 additions & 0 deletions docs/haqq-network/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Haqq Network",
"position": 5
}
131 changes: 131 additions & 0 deletions docs/haqq-network/endpoints.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
---
sidebar_position: 1
description: Endpoints
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Endpoints — API / RPC / gRPC

> In the Cosmos SDK, the gRPC-gateway translates gRPC endpoints into RESTful ones, enabling users to interact via the REST API. This adaptation is essential for clients that don't natively support gRPC or HTTP2.
> The RPC endpoint enables users to interact with Haqq's nodes, querying the node's state and transmitting transactions within the Haqq Network.
> The gRPC endpoint enables user interactions with a Haqq Node through the efficient gRPC framework. In the Cosmos SDK, this protocol is crucial for state queries and transaction broadcasts.
<Tabs>
<TabItem value="api" label="API" default>

#### Haqq (official):
```bash
https://rest.cosmos.haqq.network
```

#### Allnodes:
```bash
https://haqq-rest.publicnode.com
```

#### Anode:
```bash
https://haqq.api.m.anode.team
```

#### L0vd:
```bash
https://haqq-mainnet.api.l0vd.com
```

#### NodeStake:
```bash
https://api.haqq.nodestake.top
```

#### [Noders]Team:
```bash
https://haqq.api.nodersteam.com:19017
```

</TabItem>
<TabItem value="rpc" label="RPC">

#### Haqq (official):
```bash
https://rpc.tm.haqq.network # Tendermint RPC
https://rpc.eth.haqq.network # EVM JSON-RPC
wss://rpc-ws.eth.haqq.network # EVM Websocket
```

#### Kioqq:
```bash
https://m-s1-tm.haqq.sh # Tendermint RPC
https://m-s1-evm-rpc.haqq.sh # EVM JSON-RPC
wss://m-s1-evm-ws.haqq.sh # EVM Websocket
```

#### Allnodes:
```bash
https://haqq-rpc.publicnode.com:443
```

#### Anode:
```bash
https://haqq.rpc.m.anode.team
```

#### L0vd:
```bash
https://haqq-mainnet.rpc.l0vd.com
```

#### NodeStake:
```bash
https://rpc.haqq.nodestake.top
```

#### [Noders]Team:
```bash
https://haqq.rpc.nodersteam.com:19657
```

#### Synergy Nodes:
```bash
https://rpc-haqq.synergynodes.com
```

#### thirdweb:
```bash
https://haqq-network.rpc.thirdweb.com
```

</TabItem>
<TabItem value="grpc" label="gRPC">

#### Haqq (official):
```bash
https://grpc.cosmos.haqq.network
```

#### Allnodes:
```bash
haqq-grpc.publicnode.com:443
```

#### L0vd:
```bash
haqq-mainnet.grpc.l0vd.com:80
```

#### NodeStake:
```bash
grpc.haqq.nodestake.top:9090
```

#### [Noders]Team:
```bash
haqq.grpc.nodersteam.com:9191
```

</TabItem>
</Tabs>
Binary file added docs/haqq-network/img/haqq.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/haqq-network/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Haqq Network

import MainpageMetrics from '@site/src/components/MainpageMetrics';

<MainpageMetrics rpc="https://haqq-rpc.publicnode.com:443" binary="haqqd" />

[Haqq Network](https://haqq.network/) – ethics-first network that welcomes sustainability-centered developers, validators and open source contributors as well as Muslim innovators in sustainable Finance.

Haqq is a scalable, high-throughput Proof-of-Stake blockchain that is fully compatible and interoperable with Ethereum. It's built using the Cosmos SDK (opens new window) which runs on top of Tendermint Core (opens new window) consensus engine.

![haqq](./img/haqq.png)

[Website](https://haqq.network/) | [Blog](https://haqq.network/blog) | [GitHub](https://github.com/haqq-network) | [Twitter](https://twitter.com/The_HaqqNetwork) | [Discord](https://discord.gg/islamiccoin) | [Docs](https://docs.haqq.network)

```mdx-code-block
import DocCardList from '@theme/DocCardList';
<DocCardList />
```
4 changes: 4 additions & 0 deletions docs/haqq-network/sync/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Sync",
"position": 2
}
26 changes: 26 additions & 0 deletions docs/haqq-network/sync/addrbook.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
sidebar_position: 4
description: AddrBook
---

# AddrBook

> Address book refers to a local database or record that a node maintains of all the peers it has come into contact with or learned about. This helps in the peer discovery process.
import SelectPaste from '@site/src/components/SelectPaste';

import { addrBook } from '@site/src/components/SelectPaste/addrBook.ts';

export let endpoints = [
'https://anode.team/HAQQ/main/addrbook.json',
'https://snapshots.l0vd.com/haqq-mainnet/addrbook.json',
'https://ss.haqq.nodestake.top/addrbook.json',
'https://raw.githubusercontent.com/obajay/nodes-Guides/main/Projects/haqq/addrbook.json',
'https://snapshots.synergynodes.com/addrbook/haqq_mainnet/addrbook.json',
];

export let home = 'haqqd';

export let binary = 'haqqd';

<SelectPaste endpoints={endpoints} codeTemplate={addrBook} home={home} binary={binary} tip="Click on any endpoint to paste it into the code block." />
16 changes: 16 additions & 0 deletions docs/haqq-network/sync/peers-seeds.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
sidebar_position: 3
description: Live Peers / Seeds
---

# Live Peers / Seeds

> When you start a node, you often need to connect to the network. This requires you to connect to one or more peers to start downloading the blockchain and receiving new blocks and transactions. Seeding nodes or bootstrap nodes help in this initial connection process.
:::info
Copy and run the commands below to add your peers into `config.toml`.
:::

import LivePeers from '@site/src/components/LivePeers';

<LivePeers rpc="https://haqq-rpc.publicnode.com:443" />
40 changes: 40 additions & 0 deletions docs/haqq-network/sync/snapshot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
sidebar_position: 1
description: Snapshot
---

# Snapshot

> When a new node joins a network, it can use a snapshot — a compressed backup of the chain's data — to quickly synchronize with the current state. Snapshots expedite the process, reducing the need to download and verify every transaction from the beginning.
:::info
Choose a snapshot from the list and run the commands below. Don't forget to change `snapshot_url`.
:::

```bash
sudo systemctl stop haqqd

# make a backup
cp $HOME/.haqqd/data/priv_validator_state.json $HOME/.haqqd/priv_validator_state.json.backup

# reset your node and download a snapshot
haqqd tendermint unsafe-reset-all --home $HOME/.haqqd --keep-addr-book
wget <snapshot_url> | lz4 -dc - | tar -xf - -C $HOME/.haqqd

# replace the priv_validator_state.json you have backed up
mv $HOME/.haqqd/priv_validator_state.json.backup $HOME/.haqqd/data/priv_validator_state.json

sudo systemctl restart haqqd && sudo journalctl -u haqqd -f -o cat
```

A list of Snapshots you can use:

#### L0vd:
```bash
https://snapshots.l0vd.com/haqq-mainnet
```

#### NodeStake:
```bash
https://ss.haqq.nodestake.top
```
28 changes: 28 additions & 0 deletions docs/haqq-network/sync/state-sync.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
sidebar_position: 2
description: State Sync
---

# State Sync

> State Sync allows new nodes to join a blockchain network by downloading a recent snapshot of the application state instead of processing all historical blocks. This approach is typically faster and requires less data, as the application state is usually more concise than the entire block history.
import SelectPaste from '@site/src/components/SelectPaste';

import { stateSync } from '@site/src/components/SelectPaste/stateSync.ts';

export let endpoints = [
'https://haqq-rpc.publicnode.com:443',
'https://haqq.rpc.m.anode.team',
'https://haqq-mainnet.rpc.l0vd.com',
'https://rpc.haqq.nodestake.top',
'https://haqq.rpc.nodersteam.com:19657',
'https://rpc-haqq.synergynodes.com',
'https://haqq-network.rpc.thirdweb.com',
];

export let home = 'haqqd';

export let binary = 'haqqd';

<SelectPaste endpoints={endpoints} codeTemplate={stateSync} home={home} binary={binary} tip="Click on any RPC to paste it into the code block." />
4 changes: 4 additions & 0 deletions docs/haqq-network/useful-tools/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Useful tools",
"position": 3
}
50 changes: 50 additions & 0 deletions docs/haqq-network/useful-tools/explorers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
sidebar_position: 1
description: Explorers
---

# Explorers

> A block explorer is a search engine that allows users to access and explore the contents of individual blocks, transactions, validators, and addresses on a blockchain. It provides a visual interface to navigate the intricate details of blockchain operations.
### There are a number of explorers that you can use for Haqq Network:

#### Anode (Cosmos)
```bash
https://main.anode.team/haqq
```

#### Blockscout (EVM)
```bash
https://explorer.haqq.network
```

#### L0vd (Cosmos)
```bash
https://explorers.l0vd.com/haqq-mainnet
```

#### Nodes.Guru (Cosmos)
```bash
https://haqq.explorers.guru
```

#### NodeStake (Cosmos)
```bash
https://explorer.nodestake.top/haqq
```

#### StakeMe (Cosmos)
```bash
https://haqq.exploreme.pro
```

#### STAVR (Cosmos)
```bash
https://explorer.stavr.tech/HAQQ-Mainnet
```

#### Ping.pub (Cosmos)
```bash
https://ping.pub/haqq
```
27 changes: 27 additions & 0 deletions docs/haqq-network/useful-tools/other-tools.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
sidebar_position: 3
description: Other-tools
---

# Other Tools

### Staking Platform (official)

The official Haqq staking platform empowers users to securely participate in the decentralized network, enabling them to earn rewards by staking their Haqq tokens and actively contributing to the protocol's stability and growth. With a user-friendly interface and robust security measures, our platform provides a seamless staking experience, fostering a strong and engaged community within the Haqq ecosystem.
```bash
https://shell.haqq.network/staking
```

### Haqq deployment service

Thirdweb – place for web3 developers to explore smart contracts from world-class web3 protocols & engineers — all deployable with one click.
```bash
https://thirdweb.com/haqq-network
```

### Grafana Dashboard | L0vd:

```bash
https://chain-services.l0vd.com/mainnets/haqq/monitoring
```

2 changes: 1 addition & 1 deletion docs/lava-network/_category_.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"label": "Lava Network",
"position": 5
"position": 6
}
2 changes: 1 addition & 1 deletion docs/sui/_category_.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"label": "Sui",
"position": 6
"position": 7
}
2 changes: 1 addition & 1 deletion docs/zetachain/_category_.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"label": "Zetachain",
"position": 7
"position": 8
}

0 comments on commit d76388f

Please sign in to comment.