Service that monitors Avalanche validator uptimes, aggregates signatures, and submits proofs to the validator manager smart contract.
git clone https://github.com/neobase-one/uptime-service/
cd uptime-serice
npm install
Create a config.json
file in the root directory with the following params:
avalanche_api
: Endpoint for the Avalanche P-Chain APIaggregator_url
: URL of the signature aggregation servicesigning_subnet_id
: ID of the subnet for signature aggregationquorum_percentage
: Required percentage for signature quorum (default: 67)beam_rpc
: RPC endpoint for the Beam networkcontract_address
: Address of the staking manager contractprivate_key
: Private key for contract interactionslog_level
: Logging level ("info" or "error")network_id
: Network identifiersource_chain_id
: Source chain identifier
Development mode:
npm run dev
Production mode:
npm run build
npm start