A real-time status dashboard for monitoring Pocket Network services, applications, gateways, suppliers, and tokenomics metrics. This dashboard provides comprehensive insights into the Pocket Network ecosystem through an intuitive web interface.
Before running this dashboard, ensure you have:
- Node.js 18+ or Bun runtime
- Access to a Pocket Network API endpoint
git clone <repository-url>
cd status-dashboard
Using Bun (recommended):
bun install
Or using npm:
npm install
Create a .env.local
file in the root directory:
cp .env.example .env.local
Edit .env.local
and set the following environment variables:
# Pocket Network API URL
NEXT_PUBLIC_POCKET_API_URL=https://your-pocket-api-endpoint.com
Important: Replace https://your-pocket-api-url.com
with your actual Pocket Network API URL. It must be a Shannon Mainnet version.
bun run build
Or using npm:
npm run build
bun run start
Or using npm:
npm run start
The dashboard will be available at http://localhost:3000
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can modify default pagination settings in src/utils/constants.ts
:
export const DEFAULT_PAGE_LIMIT = 10;
export const DEFAULT_PAGE_OFFSET = 0;
export const DEFAULT_PAGE_COUNT_TOTAL = true;
export const DEFAULT_PAGE_REVERSE = false;
The dashboard connects to Pocket Network APIs through the configured endpoint. Ensure your API endpoint supports the following endpoints:
/pokt-network/poktroll/application/application
/pokt-network/poktroll/gateway/gateway
/pokt-network/poktroll/service/params
/pokt-network/poktroll/supplier/supplier
/pokt-network/poktroll/tokenomics/tokenomics
- Fork the repository
- Create a feature branch:
git checkout -b feature-name
- Commit your changes:
git commit -am 'Add feature'
- Push to the branch:
git push origin feature-name
- Submit a pull request
For issues and questions:
- Create an issue in the repository
- Check the troubleshooting section above
- Review the Pocket Network documentation for API-related questions