UXUY Indexer
  • INTRODUCTION
    • 🎃Overview
    • 🤓Protocol Highlights
    • 📽️Feature Highlights
    • 🛣️Roadmap
  • 🌲INDEXS PROTOCOL
    • Recipes
    • Inscriptions RFC
    • Supported
    • Partner
    • Work Mechanism
      • Arch
      • INDS
    • Quick Start
    • Indexer
      • Get Started
      • Configuration
      • Running Indexer & API Server
      • API
      • Explorer
    • API Reference
      • About
      • API V1
        • Inscription.All
        • Inscription.Tick
        • Address.Transactions
        • Address.Balances
        • Address.Balance
        • Tick.Holders
        • Block.LastNumber
        • Tool.InscriptionTxOperate
        • Transaction.Info
      • API V1 Specification
      • API V2
        • Inds getTicks
        • Inds getTransactionByAddress
        • Inds getBalancesByAddress
        • Inds getHoldersByTick
        • Inds getLastBlockNumberIndexed
        • Inds getTickByCallData
        • Inds getTransactionByHash
        • Inds getTransactions
        • Inds getInscriptions
        • Inds getInscriptionTxOperate
        • Index getInscriptionByTick
        • Inds getAddressBalance
        • Inds getTickBriefs
        • Inds getAllChains
        • Inds search
      • API V2 Specification
    • Changelog
      • Version Alpha
    • Team
  • 🪄INDEXS FEATURES
    • Index
    • List
  • 🔐RISK & SECURITY
    • Credit Risk
  • 🌌ECOSYSTEM
    • Overview
  • 📚INDEXS GUIDES
    • Guides Overview
  • 🧙‍♂️FAQS
    • General
    • Resources
  • 💼WE'RE HIRING!
    • Open Positions
Powered by GitBook
On this page
  • Running Indexer
  • Running JSON RPC API Server

Was this helpful?

  1. INDEXS PROTOCOL
  2. Indexer

Running Indexer & API Server

Running Indexer

Run UXUY Indexer with the command indexer. Specify how UXUY Indexer can reach BlockChain node and where to store the database in the previous chapter.

/usr/local/bin/indexer -config=config.json

Running JSON RPC API Server

Run UXUY JSON RPC API Server with the command apiserver. Specify how API Server can reach the database.

If you use the same database you can use the same config.json, you can use a Master-Slave modes to host your MySQL, and copy the config.json to a new slave-db-config.json and config the slave database for your apiserver.

/usr/local/bin/apiserver -config=config.json
# /usr/local/bin/apiserver -config=slave-db-config.json

The default api server is hosting on localhost:6583. You can change it in your config file.

PreviousConfigurationNextAPI

Last updated 1 year ago

Was this helpful?

🌲
Page cover image