Technical Overview
From highly concurrent RPC services written in Go and Node.js, to tamper-resistant key management via HSMs, robust PostgreSQL data stores, and a responsive Electron/React frontend, Royen Core leverages best-in-class technologies and industry standards—packaged and deployed via Docker and GitLab CI/CD—to provide an enterprise-grade user experience.
Backend Services
The core logic runs in microservices written in Go, chosen for its strong support for concurrent, scalable systems through goroutines and channels. These services handle tasks such as UTXO indexing, risk-scoring ingestion, and lightning watchtower coordination.
A secondary layer of Node.js/Express servers exposes a high-throughput JSON-RPC façade to Bitcoin Core, translating UI actions into RPC calls (getbalance
, listunspent
, sendmany
, etc.). This hybrid approach balances Go’s raw performance with Node.js’s rapid API development.
HSM Integration Layer
Critical private-key operations are delegated to a PKCS#11-compliant Hardware Security Module, following the OASIS Cryptoki API standard for secure token interactions. All key generation, storage, and PSBT signing occur within the HSM boundary—ensuring private material never resides in host memory.
Data Storage & Indexing
Transaction and audit logs are persisted in PostgreSQL, the world’s most advanced open-source relational database, renowned for ACID compliance and extensibility. UTXO sets and historical metrics are indexed into JSONB columns, enabling complex analytics queries for real-time VaR, CVaR, and Sharpe ratio computations.
Frontend Architecture
The desktop UI is built on Electron, embedding Chromium and Node.js for cross-platform compatibility on Windows, macOS. React components and Recharts power interactive portfolio dashboards, while Tailwind-inspired CSS keeps styling modular and consistent. Native Qt QML modules handle node sync status and peer-management panels for power users.
DevOps & Deployment
NodeVault Pro is containerized with Docker, streamlining local development and production parity by bundling each microservice and the HSM simulator into lightweight images.
Our GitLab CI/CD pipelines automate testing, linting, and Docker builds on every commit—using .gitlab-ci.yml
to orchestrate multi-stage pipelines that run unit tests in Go and Node.js, build Electron packages, and deploy Docker images to private registries.
Security & Compliance Microservices
A dedicated microservice integrates Chainalysis KYT, ingesting on-chain transactions for real-time risk scoring and alerting. Compliance modules auto-generate SOC 2® and KYC/AML reports, encrypting logs at rest and providing threaded audit trails for regulators.
Last updated