@smartledger/bsv 3.3.2 → 3.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/CHANGELOG.md +220 -79
  2. package/README.md +283 -71
  3. package/bsv-covenant.min.js +26 -3
  4. package/bsv-gdaf.min.js +11 -9
  5. package/bsv-ltp.min.js +10 -8
  6. package/bsv-mnemonic.min.js +4 -4
  7. package/bsv-script-helper.min.js +2 -2
  8. package/bsv-security.min.js +3 -24
  9. package/bsv-shamir.min.js +2 -2
  10. package/bsv-smartcontract.min.js +10 -8
  11. package/bsv.bundle.js +9 -9
  12. package/bsv.min.js +10 -8
  13. package/build/webpack.bundle.config.js +2 -2
  14. package/build/webpack.config.js +2 -2
  15. package/build/webpack.covenant.config.js +2 -2
  16. package/build/webpack.gdaf.config.js +6 -43
  17. package/build/webpack.script-helper.config.js +2 -2
  18. package/build/webpack.security.config.js +2 -2
  19. package/build/webpack.smartcontract.config.js +2 -2
  20. package/bundle-entry.js +1 -341
  21. package/covenant-entry.js +1 -44
  22. package/demos/README.md +188 -0
  23. package/{architecture_demo.js → demos/architecture_demo.js} +2 -2
  24. package/demos/bsv_wallet_demo.js +242 -0
  25. package/{complete_ltp_demo.js → demos/complete_ltp_demo.js} +1 -1
  26. package/demos/debug_tools_demo.js +87 -0
  27. package/demos/demo_features.js +123 -0
  28. package/demos/easy_interface_demo.js +109 -0
  29. package/demos/ecies_demo.js +182 -0
  30. package/demos/gdaf_core_test.js +131 -0
  31. package/demos/gdaf_demo.js +237 -0
  32. package/demos/ltp_demo.js +361 -0
  33. package/demos/ltp_primitives_demo.js +403 -0
  34. package/demos/message_demo.js +209 -0
  35. package/demos/preimage_separation_demo.js +383 -0
  36. package/demos/script_helper_demo.js +289 -0
  37. package/demos/security_demo.js +287 -0
  38. package/{shamir_demo.js → demos/shamir_demo.js} +1 -1
  39. package/{simple_demo.js → demos/simple_demo.js} +1 -1
  40. package/demos/simple_p2pkh_demo.js +169 -0
  41. package/demos/simple_utxo_preimage_demo.js +196 -0
  42. package/demos/smart_contract_demo.html +1347 -0
  43. package/demos/smart_contract_demo.js +910 -0
  44. package/demos/utxo_generator_demo.js +244 -0
  45. package/demos/validation_pipeline_demo.js +155 -0
  46. package/demos/web3keys.html +740 -0
  47. package/docs/BUNDLE_UPDATE_SUMMARY.md +40 -0
  48. package/docs/DOCUMENTATION_REVIEW_REPORT.md +295 -0
  49. package/docs/FIX_CREATEHMAC_ISSUE.md +91 -0
  50. package/docs/MODULE_REFERENCE_COMPLETE.md +330 -0
  51. package/docs/README.md +107 -79
  52. package/docs/SMARTLEDGER_BSV_USAGE_ANSWERS.md +477 -0
  53. package/docs/SMARTLEDGER_BSV_USAGE_EXAMPLES.js +372 -0
  54. package/docs/SMARTLEDGER_BSV_USAGE_GUIDE.md +555 -0
  55. package/docs/SMART_CONTRACT_DEVELOPMENT_GUIDE.md +1459 -0
  56. package/docs/advanced/LEGAL_TOKEN_PROTOCOL.md +411 -0
  57. package/docs/advanced/SMART_CONTRACT_GUIDE.md +1255 -0
  58. package/docs/advanced/UTXO_MANAGER_GUIDE.md +851 -0
  59. package/docs/api/LTP.md +334 -0
  60. package/docs/getting-started/INSTALLATION.md +410 -0
  61. package/docs/getting-started/QUICK_START.md +180 -0
  62. package/docs/migration/FROM_BSV_1_5_6.md +260 -0
  63. package/docs/technical/GDAF_DEVELOPER_INTERFACE.md +187 -0
  64. package/docs/technical/GDAF_IMPLEMENTATION_COMPLETE.md +190 -0
  65. package/docs/technical/SHAMIR_INTEGRATION_SUMMARY.md +165 -0
  66. package/docs/technical/roadmap.md +1250 -0
  67. package/docs/technical/trust_law.md +142 -0
  68. package/examples/complete_workflow_demo.js +783 -0
  69. package/examples/definitive_working_demo.js +261 -0
  70. package/examples/final_working_contracts.js +338 -0
  71. package/examples/smart_contract_templates.js +718 -0
  72. package/examples/working_smart_contracts.js +348 -0
  73. package/gdaf-entry.js +2 -54
  74. package/index.js +32 -0
  75. package/lib/mnemonic/pbkdf2.browser.js +69 -0
  76. package/lib/mnemonic/pbkdf2.js +2 -68
  77. package/lib/mnemonic/pbkdf2.node.js +68 -0
  78. package/ltp-entry.js +2 -92
  79. package/package.json +21 -8
  80. package/script-helper-entry.js +1 -49
  81. package/security-entry.js +1 -70
  82. package/shamir-entry.js +1 -173
  83. package/smartcontract-entry.js +1 -133
  84. package/tests/browser-compatibility/README.md +35 -0
  85. package/tests/browser-compatibility/test-cdn-vs-local.html +186 -0
  86. package/tests/browser-compatibility/test-pbkdf2.html +51 -0
  87. package/tests/test_builtin_verify.js +117 -0
  88. package/tests/test_debug_integration.js +71 -0
  89. package/tests/test_ecdsa_little.js +70 -0
  90. package/tests/test_smartverify_der.js +110 -0
  91. package/utilities/blockchain-state.js +155 -155
  92. package/utilities/blockchain-state.json +103293 -5244
  93. package/utilities/miner-simulator.js +354 -358
  94. package/utilities/mock-utxo-generator.js +54 -54
  95. package/utilities/raw-tx-examples.js +120 -122
  96. package/utilities/success-demo.js +104 -105
  97. package/utilities/transaction-examples.js +188 -188
  98. package/utilities/utxo-manager.js +91 -91
  99. package/utilities/wallet-setup.js +79 -80
  100. package/utilities/working-signature-demo.js +108 -110
  101. package/SECURITY.md +0 -75
  102. package/build/bsv-covenant.min.js +0 -10
  103. package/build/bsv-script-helper.min.js +0 -10
  104. package/build/bsv-security.min.js +0 -31
  105. package/build/bsv-smartcontract.min.js +0 -39
  106. package/build/bsv.bundle.js +0 -39
  107. package/build/bsv.min.js +0 -39
  108. package/validation_test.js +0 -97
  109. /package/docs/{ADVANCED_COVENANT_DEVELOPMENT.md → advanced/ADVANCED_COVENANT_DEVELOPMENT.md} +0 -0
  110. /package/docs/{CUSTOM_SCRIPT_DEVELOPMENT.md → advanced/CUSTOM_SCRIPT_DEVELOPMENT.md} +0 -0
  111. /package/docs/{block.md → api/BLOCKS.md} +0 -0
  112. /package/docs/{ecies.md → api/ECIES.md} +0 -0
  113. /package/docs/{networks.md → api/NETWORKS.md} +0 -0
  114. /package/docs/{script.md → api/SCRIPTS.md} +0 -0
  115. /package/docs/{transaction.md → api/TRANSACTIONS.md} +0 -0
  116. /package/docs/{unspentoutput.md → api/UTXO.md} +0 -0
  117. /package/{test_shamir.js → tests/test_shamir.js} +0 -0
  118. /package/{test_standalone_shamir.html → tests/test_standalone_shamir.html} +0 -0
package/CHANGELOG.md CHANGED
@@ -5,128 +5,269 @@ All notable changes to SmartLedger-BSV will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [3.3.0] - 2025-10-22
8
+ ## [3.3.4] - 2025-10-31
9
9
 
10
- ### 🚀 MAJOR RELEASE: Legal Token Protocol (LTP) & Global Digital Attestation Framework (GDAF)
10
+ ### Fixed
11
+ - **Critical Browser Compatibility Fix**: Resolved `createHmac is not a function` error affecting CDN users
12
+ - **PBKDF2 Implementation**: Added browser-compatible PBKDF2 using BSV crypto instead of Node.js crypto
13
+ - **Mnemonic Generation**: Fixed mnemonic generation and HD wallet derivation in browser environments
14
+ - **Bundle Updates**: Rebuilt all bundles with browser-compatible crypto implementations
15
+
16
+ ### Added
17
+ - Browser-specific PBKDF2 implementation (`lib/mnemonic/pbkdf2.browser.js`)
18
+ - Node.js-specific PBKDF2 implementation (`lib/mnemonic/pbkdf2.node.js`)
19
+ - Automatic browser/Node.js detection for crypto modules
20
+ - Comprehensive browser compatibility test suite
21
+
22
+ ### Technical Details
23
+ - Uses BSV's `Hash.sha512hmac()` instead of Node.js `crypto.createHmac()`
24
+ - Maintains full cryptographic security and API compatibility
25
+ - Zero breaking changes for existing users
26
+ - All 12 bundle variants updated with the fix
27
+
28
+ ## [3.3.3] - 2025-10-28## [3.3.0] - 2025-10-22
29
+
30
+
31
+
32
+ ### 🎉 Major Improvements### 🚀 MAJOR RELEASE: Legal Token Protocol (LTP) & Global Digital Attestation Framework (GDAF)
33
+
34
+
35
+
36
+ #### 📁 Project Organization & Structure#### Revolutionary Legal Token Protocol Framework
37
+
38
+ - **Complete repository reorganization**: Moved legacy files to `/archive/` for better project structure- **Complete Legal Token Protocol (LTP)**: 6-module comprehensive legal framework
39
+
40
+ - **New `/demos/` directory**: Interactive HTML demonstrations for all SmartLedger-BSV modules - **lib/ltp/anchor.js**: Blockchain anchoring preparation primitives
41
+
42
+ - **Enhanced `/docs/` structure**: Comprehensive documentation with getting started guides, API references, and technical details - **lib/ltp/registry.js**: Token registry management primitives
43
+
44
+ - **Dedicated `/tests/` directory**: All test files properly organized and categorized - **lib/ltp/claim.js**: Legal claim validation and attestation primitives
45
+
46
+ - **New `/tools/` directory**: Development utilities and helper scripts - **lib/ltp/proof.js**: Cryptographic proof generation primitives
11
47
 
12
- #### Revolutionary Legal Token Protocol Framework
13
- - **Complete Legal Token Protocol (LTP)**: 6-module comprehensive legal framework
14
- - **lib/ltp/anchor.js**: Blockchain anchoring preparation primitives
15
- - **lib/ltp/registry.js**: Token registry management primitives
16
- - **lib/ltp/claim.js**: Legal claim validation and attestation primitives
17
- - **lib/ltp/proof.js**: Cryptographic proof generation primitives
18
48
  - **lib/ltp/right.js**: Legal rights token creation and validation primitives
19
- - **lib/ltp/obligation.js**: Legal obligation token management primitives
20
49
 
21
- #### Primitives-Only Architecture Philosophy
22
- - **No Blockchain Publishing**: Library provides preparation functions only
50
+ #### 🚀 Interactive Demos - **lib/ltp/obligation.js**: Legal obligation token management primitives
51
+
52
+ - **Smart Contract Demo**: Full-featured HTML demo showcasing covenant creation, preimage parsing, script building, and UTXO generation
53
+
54
+ - **Web3Keys Demo**: Interactive key generation and cryptographic operations demonstration#### Primitives-Only Architecture Philosophy
55
+
56
+ - **Local development server**: Easy setup for testing demos locally- **No Blockchain Publishing**: Library provides preparation functions only
57
+
23
58
  - **External System Integration**: Perfect for enterprise and custom implementations
24
- - **Maximum Flexibility**: Choose your own blockchain, storage, and UI frameworks
25
- - **Clean Separation**: Cryptographic correctness separated from application logic
26
59
 
27
- #### Legal Token Framework Components
28
- - **46 LTP Primitive Methods**: Complete coverage across all legal token operations
29
- - 4 Right Token Primitives (prepare, verify, transfer, validate)
60
+ #### 📚 Documentation Enhancements- **Maximum Flexibility**: Choose your own blockchain, storage, and UI frameworks
61
+
62
+ - **Complete API documentation**: Detailed reference for all modules and classes- **Clean Separation**: Cryptographic correctness separated from application logic
63
+
64
+ - **Getting Started guides**: Step-by-step tutorials for new developers
65
+
66
+ - **Advanced development guides**: In-depth coverage of complex topics#### Legal Token Framework Components
67
+
68
+ - **Migration documentation**: Guidelines for upgrading from previous versions- **46 LTP Primitive Methods**: Complete coverage across all legal token operations
69
+
70
+ - **Technical specifications**: Detailed implementation documentation - 4 Right Token Primitives (prepare, verify, transfer, validate)
71
+
30
72
  - 5 Obligation Token Primitives (create, verify, fulfill, breach assessment, monitoring)
31
- - 5 Claim Validation Primitives (validate, attest, dispute, bulk processing, templates)
73
+
74
+ ### 🔧 Technical Improvements - 5 Claim Validation Primitives (validate, attest, dispute, bulk processing, templates)
75
+
32
76
  - 6 Proof Generation Primitives (signature, selective disclosure, ZK, legal validity)
33
- - 8 Registry Management Primitives (registry setup, registration, approval, revocation, queries)
34
- - 4 Blockchain Anchoring Primitives (commitment, batch processing, verification, revocation)
35
77
 
36
- #### W3C-Compliant Legal Standards
37
- - **PropertyTitle**: Complete property ownership claim schema
78
+ #### ✅ Test Suite Enhancements - 8 Registry Management Primitives (registry setup, registration, approval, revocation, queries)
79
+
80
+ - **Fixed opcode mapping tests**: Updated tests to reflect Chronicle string operations (OP_SUBSTR, OP_LEFT, OP_RIGHT) - 4 Blockchain Anchoring Primitives (commitment, batch processing, verification, revocation)
81
+
82
+ - **Corrected opcode count**: Updated from 118 to 121 elements to include new Chronicle opcodes
83
+
84
+ - **Perfect test coverage**: All 534 tests now pass (100% success rate)#### W3C-Compliant Legal Standards
85
+
86
+ - **Updated reverseMap validation**: Fixed OP_NOP7 position validation (was incorrectly expecting OP_NOP10)- **PropertyTitle**: Complete property ownership claim schema
87
+
38
88
  - **VehicleTitle**: Vehicle ownership and transfer documentation
39
- - **PromissoryNote**: Financial obligation and debt instruments
40
- - **IntellectualProperty**: IP rights and licensing framework
41
- - **ProfessionalLicense**: Professional certification and licensing
42
- - **MusicLicense**: Music rights and royalty management
43
-
44
- #### Global Digital Attestation Framework (GDAF)
45
- - **6-Module GDAF Implementation**: Complete W3C Verifiable Credentials compliance
46
- - **lib/gdaf/attestation.js**: Digital attestation creation and verification
47
- - **lib/gdaf/identity.js**: Decentralized identity management
48
- - **lib/gdaf/registry.js**: Attestation registry and discovery
89
+
90
+ #### 🛠️ Build System Updates- **PromissoryNote**: Financial obligation and debt instruments
91
+
92
+ - **Enhanced webpack configurations**: Improved build processes for all modules- **IntellectualProperty**: IP rights and licensing framework
93
+
94
+ - **Updated bundle outputs**: Refreshed all minified bundles with latest optimizations- **ProfessionalLicense**: Professional certification and licensing
95
+
96
+ - **Better development workflow**: Streamlined build and test processes- **MusicLicense**: Music rights and royalty management
97
+
98
+
99
+
100
+ #### 🧹 Code Quality Improvements#### Global Digital Attestation Framework (GDAF)
101
+
102
+ - **Linting fixes**: Resolved JavaScript Standard Style violations across utility files- **6-Module GDAF Implementation**: Complete W3C Verifiable Credentials compliance
103
+
104
+ - **Unused import cleanup**: Removed unused dependencies and imports - **lib/gdaf/attestation.js**: Digital attestation creation and verification
105
+
106
+ - **Syntax compatibility**: Fixed ES2020 optional chaining for broader compatibility - **lib/gdaf/identity.js**: Decentralized identity management
107
+
108
+ - **Code organization**: Better separation of concerns and cleaner file structure - **lib/gdaf/registry.js**: Attestation registry and discovery
109
+
49
110
  - **lib/gdaf/credential.js**: W3C Verifiable Credentials implementation
50
- - **lib/gdaf/proof.js**: Cryptographic proof systems
51
- - **lib/gdaf/verification.js**: Multi-layer verification framework
52
111
 
53
- #### Enhanced Cryptographic Primitives
54
- - **Shamir Secret Sharing**: Complete k-of-n threshold cryptography
112
+ ### 🔒 Chronicle Integration - **lib/gdaf/proof.js**: Cryptographic proof systems
113
+
114
+ - **OP_SUBSTR support**: Full implementation of substring operations - **lib/gdaf/verification.js**: Multi-layer verification framework
115
+
116
+ - **OP_LEFT support**: Left substring extraction functionality
117
+
118
+ - **OP_RIGHT support**: Right substring extraction functionality#### Enhanced Cryptographic Primitives
119
+
120
+ - **Updated opcode mappings**: Proper integration of Chronicle string operations into opcode system- **Shamir Secret Sharing**: Complete k-of-n threshold cryptography
121
+
55
122
  - **lib/crypto/shamir.js**: Production-ready SSS implementation
56
- - **bsv.createShares()**: Split secrets into threshold shares
123
+
124
+ ### 📦 Module Improvements - **bsv.createShares()**: Split secrets into threshold shares
125
+
57
126
  - **bsv.reconstructSecret()**: Reconstruct from threshold shares
58
- - **bsv.verifyShares()**: Validate share integrity
59
127
 
60
- ### 🎯 Complete Legal Token Workflow Example
128
+ #### 💎 Utility Enhancements - **bsv.verifyShares()**: Validate share integrity
129
+
130
+ - **Blockchain state management**: Improved simulation and state tracking
131
+
132
+ - **UTXO management**: Enhanced UTXO generation and management tools### 🎯 Complete Legal Token Workflow Example
133
+
134
+ - **Transaction examples**: Comprehensive transaction building examples
135
+
136
+ - **Miner simulation**: Better blockchain mining simulation for development#### Real BSV Integration Demonstration
137
+
138
+ - **Success demonstration**: Working examples of successful operations- **Real Private Keys**: Actual BSV addresses and WIF keys generated
61
139
 
62
- #### Real BSV Integration Demonstration
63
- - **Real Private Keys**: Actual BSV addresses and WIF keys generated
64
140
  - **Mock UTXO System**: Complete testing framework without blockchain dependency
65
- - **Smart Contract Covenants**: Legal token enforcement through BSV covenants
66
- - **End-to-End Workflow**: From claim creation to token transfer with covenant validation
67
141
 
68
- #### Example Results from `complete_ltp_demo.js`:
69
- - Property Right Token: `RT-1bd80ac44e27c3ec0f9dffdd2efffe07`
142
+ ### 🐛 Bug Fixes- **Smart Contract Covenants**: Legal token enforcement through BSV covenants
143
+
144
+ - **Fixed demo script paths**: Corrected relative paths in HTML demos- **End-to-End Workflow**: From claim creation to token transfer with covenant validation
145
+
146
+ - **Resolved test failures**: All opcode-related test issues resolved
147
+
148
+ - **Build output corrections**: Fixed webpack output paths and configurations#### Example Results from `complete_ltp_demo.js`:
149
+
150
+ - **Import path fixes**: Corrected module import paths across the codebase- Property Right Token: `RT-1bd80ac44e27c3ec0f9dffdd2efffe07`
151
+
70
152
  - Obligation Token: `OB-e87eb0388db36b8b5777118ae45c46d3`
71
- - Covenant Address: `1MhX6MRVE79Qn4CtQ6bkk5JJJeMCTXBwwo`
72
- - Transfer Transaction: `4b1125d5dfc53e0157b843b8d2e964922331dd509ca096f9a470bfda421b43e6`
73
153
 
74
- ### 🏗️ Architecture Excellence
154
+ ### 🔄 Backwards Compatibility- Covenant Address: `1MhX6MRVE79Qn4CtQ6bkk5JJJeMCTXBwwo`
155
+
156
+ - **Maintained API compatibility**: All existing APIs remain functional- Transfer Transaction: `4b1125d5dfc53e0157b843b8d2e964922331dd509ca096f9a470bfda421b43e6`
157
+
158
+ - **Legacy file preservation**: Old files archived rather than deleted
159
+
160
+ - **Migration support**: Clear upgrade paths for existing applications### 🏗️ Architecture Excellence
161
+
162
+ - **Version consistency**: No breaking changes to core functionality
75
163
 
76
164
  #### Interface Transformation
77
- **Before (Application Framework):**
78
- ```javascript
79
- bsv.createRightToken() // Created AND published to blockchain
80
- bsv.validateLegalClaim() // Validated AND stored in database
165
+
166
+ ### 📈 Performance Improvements**Before (Application Framework):**
167
+
168
+ - **Optimized bundles**: Reduced bundle sizes through better webpack configurations```javascript
169
+
170
+ - **Faster tests**: Improved test execution speed through better organizationbsv.createRightToken() // Created AND published to blockchain
171
+
172
+ - **Enhanced development experience**: Faster build times and better error reportingbsv.validateLegalClaim() // Validated AND stored in database
173
+
81
174
  bsv.anchorTokenBatch() // Created batch AND sent transaction
82
- ```
83
175
 
84
- **After (Primitives-Only):**
85
- ```javascript
86
- bsv.prepareRightToken() // Prepares token structure only
176
+ ### 🎯 Developer Experience```
177
+
178
+ - **Interactive learning**: Hands-on demos for understanding SmartLedger-BSV capabilities
179
+
180
+ - **Better documentation**: Clear examples and comprehensive API coverage**After (Primitives-Only):**
181
+
182
+ - **Improved debugging**: Better error messages and debugging tools```javascript
183
+
184
+ - **Development tools**: Enhanced utilities for blockchain developmentbsv.prepareRightToken() // Prepares token structure only
185
+
87
186
  bsv.prepareClaimValidation() // Validates structure only
88
- bsv.prepareBatchCommitment() // Prepares commitment only
89
- ```
90
187
 
91
- ### 🛠️ New Development Tools & Testing
188
+ ### 📋 Quality Assurancebsv.prepareBatchCommitment() // Prepares commitment only
189
+
190
+ - **Complete test coverage**: 534/534 tests passing```
191
+
192
+ - **Linting compliance**: Full JavaScript Standard Style compliance
193
+
194
+ - **Build verification**: All builds complete successfully### 🛠️ New Development Tools & Testing
195
+
196
+ - **Cross-platform compatibility**: Verified functionality across different environments
92
197
 
93
198
  #### Comprehensive Demo Suite
94
- - **complete_ltp_demo.js**: Full end-to-end LTP workflow with real BSV keys
199
+
200
+ ---- **complete_ltp_demo.js**: Full end-to-end LTP workflow with real BSV keys
201
+
95
202
  - **simple_demo.js**: Architectural overview and primitives showcase
96
- - **architecture_demo.js**: Before/after comparison demonstration
203
+
204
+ ## Previous Versions- **architecture_demo.js**: Before/after comparison demonstration
205
+
97
206
  - **gdaf_demo.js**: Complete GDAF framework demonstration
98
- - **shamir_demo.js**: Threshold cryptography examples
207
+
208
+ ### [3.3.2] and earlier- **shamir_demo.js**: Threshold cryptography examples
209
+
210
+ Previous version history is available in the git commit log. This changelog format starts with version 3.3.3.
99
211
 
100
212
  #### New NPM Scripts
101
- - **`npm run test:ltp`**: Complete Legal Token Protocol demonstration
213
+
214
+ ---- **`npm run test:ltp`**: Complete Legal Token Protocol demonstration
215
+
102
216
  - **`npm run test:ltp-primitives`**: Primitives-only architecture showcase
103
- - **`npm run test:architecture`**: Architectural transformation comparison
104
217
 
105
- ### 📦 Enhanced Build System
218
+ ### 🚀 Getting Started- **`npm run test:architecture`**: Architectural transformation comparison
219
+
220
+
221
+
222
+ To get started with SmartLedger-BSV v3.3.3:### 📦 Enhanced Build System
223
+
224
+
225
+
226
+ ```bash#### New Standalone Modules
227
+
228
+ npm install @smartledger/bsv@3.3.3- **bsv-ltp.min.js**: Complete Legal Token Protocol standalone module
229
+
230
+ ```- **bsv-shamir.min.js**: Standalone Shamir Secret Sharing module
106
231
 
107
- #### New Standalone Modules
108
- - **bsv-ltp.min.js**: Complete Legal Token Protocol standalone module
109
- - **bsv-shamir.min.js**: Standalone Shamir Secret Sharing module
110
232
  - **bsv-gdaf.min.js**: Complete GDAF framework module
111
233
 
112
- #### Updated Keywords & Metadata
113
- ```json
114
- "legal-token-protocol", "ltp", "legal-tokens", "primitives-only",
115
- "legal-compliance", "property-rights", "obligations", "attestations",
116
- "gdaf", "global-digital-attestation", "w3c-credentials",
234
+ Check out the interactive demos:
235
+
236
+ ```bash#### Updated Keywords & Metadata
237
+
238
+ cd demos```json
239
+
240
+ python3 -m http.server 8080"legal-token-protocol", "ltp", "legal-tokens", "primitives-only",
241
+
242
+ # Open http://localhost:8080"legal-compliance", "property-rights", "obligations", "attestations",
243
+
244
+ ```"gdaf", "global-digital-attestation", "w3c-credentials",
245
+
117
246
  "verifiable-credentials", "shamir-secret-sharing", "threshold-cryptography"
118
- ```
119
247
 
120
- ### 💫 Enterprise Integration Benefits
248
+ ### 📖 Documentation```
249
+
250
+
251
+
252
+ - **API Reference**: `/docs/api/`### 💫 Enterprise Integration Benefits
253
+
254
+ - **Getting Started**: `/docs/getting-started/`
255
+
256
+ - **Examples**: `/examples/`#### For Developers
257
+
258
+ - **Demos**: `/demos/`- ✅ Choose any blockchain platform (BSV, Bitcoin, Ethereum, etc.)
121
259
 
122
- #### For Developers
123
- - ✅ Choose any blockchain platform (BSV, Bitcoin, Ethereum, etc.)
124
260
  - ✅ Choose any storage solution (SQL, NoSQL, IPFS, etc.)
125
- - ✅ Full architectural control and system integration
261
+
262
+ ### 🔗 Links- ✅ Full architectural control and system integration
263
+
126
264
  - ✅ Easy integration with existing business systems
127
265
 
128
- #### For Enterprises
129
- - ✅ No vendor lock-in to specific platforms
266
+ - **GitHub**: https://github.com/codenlighten/smartledger-bsv
267
+
268
+ - **NPM**: https://npmjs.com/package/@smartledger/bsv#### For Enterprises
269
+
270
+ - **Documentation**: https://github.com/codenlighten/smartledger-bsv/tree/main/docs- ✅ No vendor lock-in to specific platforms
130
271
  - ✅ Compliance with existing IT policies
131
272
  - ✅ Legacy system compatibility
132
273
  - ✅ Audit-friendly separation of concerns