How biccsdev/3land_sdk works
Main Components
a) Core SDK Layer:
• Store Management Module
• Collection Management Module
• NFT Operations Module
• Validation Layer
b) External Integration Layer:
• Solana Blockchain Connection
• Irys Storage Integration
• Wallet Interface
c) Type System:
• Account Types
• Instruction Types
• Error Handling System
┌─────────────────────────────────────────────────────────────┐
• Client Application │
• ┬─────────────────────────────────┘
• ↓
┌─────────────────────────────────────────────────────────────┐
• 3Land SDK Layer │
• ┬────────────┬────────────────┬─────────────────┤
• Store │Collection │ NFT │ Utility │
• Module │ Module │ Operations │ Services │
• ┴────────────┴────────────────┴─────────────────┘
• ↓
┌─────────────────────────────────────────────────────────────┐
• Integration Layer │
• ┬────────────┬────────────────┬─────────────────┤
• Solana │ Irys │ Wallet │ PDA │
• Connection │ Storage │ Interface │ Manager │
• ┴────────────┴────────────────┴─────────────────┘
• ↓
┌─────────────────────────────────────────────────────────────┐
• External Services │
• ┬────────────┬────────────────┬─────────────────┤
• Solana │ Irys │ Wallet │ Other │
• Blockchain │ Network │ Provider │ Services │
• ┴────────────┴────────────────┴─────────────────┘
Component Details
Store Module (src/library/Store.ts):
• Connections to store-related instructions
• Link to store-type definitions
• To PDA Manager
Instruction Layer (src/types/instructions):
• Related instructions (e.g., store, NFT, collection)
• Flow to account types
Account Types (src/types/accounts):
• Related account types
• Relationships between accounts
Data Flow Indicators
• Data transformation flows
• Error propagation paths
Implementation Notes
• The modular nature of the SDK
• Clear separation between core functionality and external services
• Error handling pathways
• Configuration flexibility
Additional Elements
Specialized features like:
• Fee handling mechanisms
• Collection management flows
• NFT minting processes
• Validation checkpoints
Remember to include version information and any network-specific configurations that might affect the architecture.