Skip to content

Latest commit

Β 

History

History
314 lines (246 loc) Β· 8.74 KB

File metadata and controls

314 lines (246 loc) Β· 8.74 KB

Paxeer Network Documentation

Professional documentation for Paxeer Network, built with Mintlify framework inspired by Optimism's documentation structure.

πŸš€ Quick Start

# Install Mintlify CLI
npm install -g mintlify

# Preview documentation locally
mintlify dev

# Build for production
mintlify build

πŸ“ Documentation Structure

Core Documentation (Root Level)

/root/docs/
β”œβ”€β”€ index.mdx                    # Home page
β”œβ”€β”€ quickstart.mdx              # Getting started guide
β”œβ”€β”€ configuration.mdx           # Network configuration
β”œβ”€β”€ contracts.mdx               # Smart contracts guide
β”œβ”€β”€ api-reference.mdx           # JSON-RPC API reference
β”œβ”€β”€ rpc.mdx                     # RPC methods testing
β”œβ”€β”€ examples.mdx                # Code examples
β”œβ”€β”€ tools.mdx                   # SDKs and tools
β”œβ”€β”€ paxdex.mdx                 # PaxDex protocol
β”œβ”€β”€ lending.mdx                # Lending protocol
β”œβ”€β”€ ctm.mdx                    # Computable Token Machine
β”œβ”€β”€ blockscout-api.mdx         # BlockScout API
└── docs.json                  # Mintlify configuration

App Developers Section

app-developers/
β”œβ”€β”€ guides/
β”‚   β”œβ”€β”€ building-apps.mdx              # Development guide
β”‚   β”œβ”€β”€ testing-apps.mdx               # Testing best practices
β”‚   └── transactions/
β”‚       β”œβ”€β”€ fees.mdx                   # Fee structure
β”‚       β”œβ”€β”€ estimates.mdx              # Cost estimation
β”‚       β”œβ”€β”€ parameters.mdx             # Gas parameters
β”‚       β”œβ”€β”€ statuses.mdx               # Transaction states
β”‚       └── troubleshooting.mdx        # Common issues
└── [tutorials, reference folders ready for expansion]

Node Operators Section

node-operators/
└── guides/
    └── running-a-node.mdx             # Node setup guide

Concepts Section

concepts/
β”œβ”€β”€ architecture/
β”‚   └── overview.mdx                   # Architecture overview
β”œβ”€β”€ security/
β”‚   └── best-practices.mdx             # Security guide
└── transactions/
    └── transaction-flow.mdx           # Transaction lifecycle

🎨 Framework Features

Based on Optimism's Professional Documentation:

Mintlify Features

  • βœ… Multi-tab navigation - Organized by user type
  • βœ… Global anchors - Quick access to key resources
  • βœ… Feedback system - Thumbs rating, suggest edits, raise issues
  • βœ… SEO optimization - Complete meta tags and social cards
  • βœ… Dark/Light mode - Automatic theme switching
  • βœ… Search - Full-text documentation search
  • βœ… Code groups - Multi-language examples
  • βœ… Interactive components - Tabs, accordions, cards
  • βœ… Contextual AI - ChatGPT and Claude integration

Custom Configuration

  • Brand Colors: Orange/Red theme (#FF4500)
  • Dark Mode Default: Optimized for developer experience
  • Social Links: Discord, Twitter, GitHub
  • Global Anchors: Explorer, PaxDex, Faucet, Status
  • Primary CTA: "Get Started" button
  • Top Bar: GitHub link + Launch App button

πŸ“š Documentation Coverage

βœ… Complete Pages (24 total)

Getting Started

  1. index.mdx - Network overview with navigation
  2. quickstart.mdx - Step-by-step setup guide

Core Documentation

  1. configuration.mdx - wagmi, viem, ethers.js, web3.js
  2. contracts.mdx - Hardhat, Foundry, Remix deployment
  3. api-reference.mdx - Complete JSON-RPC API
  4. rpc.mdx - RPC method testing guide
  5. examples.mdx - Integration examples
  6. tools.mdx - Development tools & SDKs

Ecosystem Protocols

  1. paxdex.mdx - DEX protocol (REST + WebSocket)
  2. lending.mdx - Lending protocol with credit scoring
  3. ctm.mdx - Computable Token Machine guide
  4. blockscout-api.mdx - Explorer API documentation

App Developer Guides

  1. app-developers/guides/building-apps.mdx
  2. app-developers/guides/testing-apps.mdx
  3. app-developers/guides/transactions/fees.mdx
  4. app-developers/guides/transactions/estimates.mdx
  5. app-developers/guides/transactions/parameters.mdx
  6. app-developers/guides/transactions/statuses.mdx
  7. app-developers/guides/transactions/troubleshooting.mdx

Node Operators

  1. node-operators/guides/running-a-node.mdx

Concepts

  1. concepts/architecture/overview.mdx
  2. concepts/security/best-practices.mdx
  3. concepts/transactions/transaction-flow.mdx

Configuration

  1. docs.json - Complete Mintlify configuration

🎯 Navigation Structure

Tab 1: App Developers

  • Getting Started β†’ index, quickstart
  • Guides β†’ building-apps, testing-apps, transactions (5 pages)
  • Core Documentation β†’ configuration, contracts, api-reference, rpc
  • Code Examples β†’ examples, tools

Tab 2: Ecosystem

  • Protocols β†’ PaxDex, Lending, CTM
  • APIs β†’ BlockScout API

Tab 3: Node Operators

  • Guides β†’ Running a node

Tab 4: Concepts

  • Architecture β†’ Overview
  • Security β†’ Best practices
  • Transactions β†’ Transaction flow

πŸ”§ Technical Specifications

Network Details

Ecosystem

  • PaxDex: DEX with 0.3% fees, 12 tokens, WebSocket support
  • Lending: Credit scoring, dynamic APY, multi-asset
  • CTM: Diamond Standard (EIP-2535) token implementation

πŸ“– Content Features

MDX Components Used

  • <Card> / <CardGroup> - Navigation and feature cards
  • <Tabs> / <Tab> - Multi-framework examples
  • <Accordion> / <AccordionGroup> - Expandable content
  • <Steps> / <Step> - Step-by-step guides
  • <CodeGroup> - Multi-language code examples
  • <Info>, <Warning>, <Tip>, <Note> - Callouts
  • <ParamField> - API parameter documentation

Code Examples Coverage

  • βœ… TypeScript / JavaScript
  • βœ… Python
  • βœ… Bash / cURL
  • βœ… Solidity
  • βœ… ethers.js v6
  • βœ… viem
  • βœ… wagmi
  • βœ… web3.js v4

Documentation Quality

  • βœ… Proper frontmatter (title, description, icon)
  • βœ… Syntax highlighting
  • βœ… Working code examples
  • βœ… Error handling examples
  • βœ… Best practices sections
  • βœ… Troubleshooting guides
  • βœ… Cross-references
  • βœ… External resource links

πŸš€ Deployment

Deploy to Mintlify

  1. Connect Repository:

    # Push to GitHub
    git init
    git add .
    git commit -m "Initial Paxeer Network documentation"
    git remote add origin https://github.com/yourusername/paxeer-docs
    git push -u origin main
  2. Link to Mintlify:

    • Go to mintlify.com
    • Connect your GitHub repository
    • Auto-deploy on push
  3. Custom Domain (Optional):

    • Configure in Mintlify dashboard
    • Point DNS to Mintlify
    • Example: docs.paxeer.app

Local Development

# Install dependencies
npm install -g mintlify

# Run dev server
mintlify dev

# Open browser
open http://localhost:3000

πŸ“ Content Sources

Converted from v0-paxeer-network-docs

  • Original: Next.js/React application
  • Converted: 12 core MDX pages
  • Format: Proper MDX with code snippets

Inspired by Optimism Docs

  • Framework: Professional Mintlify structure
  • Navigation: Multi-tab organization
  • Content: Technical depth and quality
  • Components: Rich MDX components

🎨 Customization

Colors

Primary: #FF4500 (Orange-Red) Light: #FF6B35 Dark: #E63E00

Branding

  • Logo: /logo/light.svg and /logo/dark.svg
  • Favicon: /favicon.svg
  • OG Image: /og-image.png

πŸ“Š Analytics

Add your analytics IDs in docs.json:

"analytics": {
  "ga4": {
    "measurementId": "G-XXXXXXXXXX"
  },
  "mixpanel": {
    "projectToken": "your_token_here"
  }
}

πŸ”— Important Links

πŸ“„ License

MIT License - See LICENSE file for details

🀝 Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Add/update documentation
  4. Test locally with mintlify dev
  5. Submit a pull request

πŸ“ž Support


Built with ❀️ by the Paxeer team

Framework: Inspired by Optimism Docs β€’ Platform: Mintlify