How instruxi-io/sxt-utils-hardhat works
Main Components
a) Core Infrastructure Layer:
• Hardhat Development Environment
• Blockchain Networks (Multiple networks supported)
• Space and Time Database
• Security/Authentication Components
b) Project Components:
• Task Management System
• Contract Management
• Business Objects Layer
• Data Management Layer
• Security Artifacts Management
Key Relationships to Highlight
• Development workflow
• Deployment pipeline
• Data flow between blockchain and SxT
• Security token management
• Business object interactions
[Development Environment]
• [Task System]
• SxT Utils Tasks
• Deployment Tasks
• Contract Management Tasks
• [Contract Layer]
• Smart Contracts
• TypeChain Types
• Contract Factories
• [Business Layer]
• Business Objects (.ejs)
• Schema Definitions
• Table Structures
• [Data Management]
• Insert Operations
• Update Operations
• Delete Operations
• [Security Layer]
• Biscuit Management
• Table Security
• Environment Security
• [External Integrations]
• Blockchain Networks
• Space and Time API
Important Elements
a) Infrastructure Components:
• Node.js Runtime
• Hardhat Framework
• Network Providers
• SxT API Endpoints
b) Security Flow:
• Private Key Management
• Biscuit Generation
• Table Security
• Environment Variables
c) Development Flow:
• Schema Initialization
• Business Object Definition
• Table Creation
• Data Management
Specific Implementation Details
• The modular nature of the tasks system
• The separation between blockchain and database operations
• The security layer's integration points
• The business object transformation pipeline