Developer Guide
A practical guide for integrating with the GovChain blockchain's Procurement (OCDS) and Infrastructure (OC4IDS) modules. Covers authentication, querying via REST, submitting transactions via CLI and CosmJS, WebSocket events, and error handling.
Chain Configuration
Network endpoints, chain ID, gas settings, and default denominations.
Authentication & Keys
Create keys via CLI or CosmJS, fund accounts, and manage wallets.
Transaction Lifecycle
Three methods for submitting transactions: CLI, REST broadcast, and CosmJS.
Procurement Module (OCDS)
Full OCDS lifecycle with examples: entities, processes, tenders, awards, contracts, and implementation.
Infrastructure Module (OC4IDS)
OC4IDS project lifecycle: create projects, track progress, attach documents, and link procurement.
REST API Pagination
Cursor-based and offset-based pagination for all list endpoints.
Events & WebSocket
Subscribe to real-time blockchain events via CometBFT WebSocket.
Error Handling
Common error codes, module-specific errors, and sequence handling.