forge-solana-sdk 3.4.0 → 3.4.1

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 (3) hide show
  1. package/README.md +29 -590
  2. package/dist/cli.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,627 +1,66 @@
1
- # FORGE
1
+ # FORGE
2
2
 
3
- ![npm](https://img.shields.io/npm/v/forge-solana-sdk)
4
- ![npm](https://img.shields.io/npm/dm/forge-solana-sdk)
5
- ![License](https://img.shields.io/npm/l/forge-solana-sdk)
3
+ [![npm](https://img.shields.io/npm/v/forge-solana-sdk)](https://www.npmjs.org/package/forge-solana-sdk)
4
+ [![License](https://img.shields.io/npm/l/forge-solana-sdk)](https://github.com/forge-protocol/forge/blob/main/LICENSE)
6
5
 
7
- **Intent-driven Solana program assembly.** Generate production-ready Anchor programs from natural language. Modern CPI helpers included.
6
+ **Intent-driven Solana program assembly.** Generate production-ready Anchor programs from natural language.
8
7
 
9
- > ⚡ **FORGE generates code, not excuses.**
8
+ > ⚡ **Intent Code. No magic, just infrastructure.**
10
9
 
11
- ## ⚡ Install
10
+ ## ⚡ Quick Start
12
11
 
12
+ ### 1. Install
13
13
  ```bash
14
14
  npm install -g forge-solana-sdk
15
15
  ```
16
16
 
17
- ## 🚀 Usage
18
-
19
- ### Initialize a project
17
+ ### 2. Create your first project
20
18
  ```bash
21
- # Basic project
22
- forge init my-project
23
-
24
- # With intent-driven CPI generation
19
+ # Generate a token transfer program from an intent
25
20
  forge init my-project --intent "transfer 100 tokens safely"
26
21
 
27
- # With program template
28
- forge init my-token --template token-program
29
-
30
- # With specific Anchor version
31
- forge init my-project --anchor-version 0.31.0
32
-
33
- # Interactive setup wizard
34
- forge interactive
35
-
36
- # List available templates
37
- forge list-templates
38
-
39
22
  cd my-project
40
- ```
41
-
42
- ### Check status
43
- ```bash
44
23
  forge status
45
24
  ```
46
25
 
47
- Enhanced status checks include:
48
- - ✅ Version compatibility warnings
49
- - ✅ Rust edition 2024 requirements
50
- - ✅ Anchor CLI vs project version matching
51
- - ✅ Network configuration
52
-
53
- ### Generate TypeScript SDK
54
- ```bash
55
- forge generate-sdk
56
-
57
- # Or specify custom output directory
58
- forge generate-sdk ./my-sdk
59
-
60
- # Generate modern Web3.js v2 SDK (functional, piped API)
61
- forge generate-sdk --v2
62
- ```
63
-
64
- ### Deploy to Solana
65
- ```bash
66
- # Deploy to devnet (default)
67
- forge deploy
68
-
69
- # Deploy to specific environment
70
- forge deploy --env devnet
71
- forge deploy --env mainnet-beta
72
-
73
- # Deploy to local validator
74
- forge deploy --env localnet
75
- ```
76
-
77
- **Environment Support:**
78
- - ✅ **devnet**: Development network (default)
79
- - ✅ **mainnet-beta**: Production network with safety checks
80
- - ✅ **localnet**: Local Solana validator
81
- - ✅ Auto-updates Anchor.toml with environment RPC URLs
82
- - ✅ Mainnet deployment requires explicit confirmation
83
-
84
- ### Security Hardening
26
+ ### 3. Harden and Simulate
85
27
  ```bash
28
+ # Apply security safeguards
86
29
  forge harden
87
- ```
88
-
89
- **Safeguards include:**
90
- - 🛡️ **Macro Integration**: Injects `require_signer!`, `assert_owned_by!`, and `checked_math!`
91
- - 📋 **Config Hardening**: Enforces strict Anchor linting and PDA safety in `Anchor.toml`
92
- - 🔒 **Security Modules**: Generates a local `security.rs` for project-specific rules
93
- - 📦 **Runtime Safety**: Automatically adds `forge-runtime` to program dependencies
94
-
95
- ### Security Audit
96
- ```bash
97
- forge audit
98
- ```
99
-
100
- **Comprehensive Security Checks:**
101
- - 🔍 **Critical Issues**: Missing ownership validation, unsafe code
102
- - ⚠️ **High Priority**: Improper PDA derivation, missing constraints
103
- - 📊 **Performance**: Expensive operations, large account data
104
- - 🛡️ **Access Control**: Signer constraints, PDA bumps
105
- - 📋 **Configuration**: Wallet paths, cluster settings
106
-
107
- ### Testing Framework
108
- ```bash
109
- forge test
110
- ```
111
-
112
- **Automated Test Generation:**
113
- - 🧪 **Comprehensive Coverage**: Program initialization, all instructions, edge cases
114
- - 🔐 **Security Testing**: Access control validation, error condition handling
115
- - 💰 **Token Operations**: SPL token transfer, mint, burn functionality
116
- - 🎯 **PDA Validation**: Proper derived address generation and validation
117
- - ⚡ **Performance Tests**: Gas usage analysis, large data handling
118
-
119
- **Generated Test Suite Includes:**
120
- - ✅ Program initialization and IDL validation
121
- - ✅ All instruction handlers with sensible defaults
122
- - ✅ Token program integration tests
123
- - ✅ PDA derivation correctness
124
- - ✅ Error condition testing
125
- - ✅ Access control enforcement
126
-
127
- ### Contract Verification
128
- ```bash
129
- forge verify
130
- ```
131
-
132
- **Source Code Transparency:**
133
- - 📤 **Solana Explorer Upload**: Source code and IDL verification
134
- - 🔍 **Trust Building**: Prove deployed code matches published source
135
- - 🏷️ **Metadata Publishing**: Program name, version, description, repository
136
- - 🔗 **Explorer Links**: Direct links to verified contract pages
137
-
138
- **Verification Process:**
139
- - ✅ Build program and generate IDL
140
- - ✅ Collect all source files and metadata
141
- - ✅ Prepare verification bundle
142
- - ✅ Generate Solana Explorer verification links
143
- - ✅ Save local verification record
144
-
145
- ### Program Templates
146
- ```bash
147
- # List all available templates
148
- forge list-templates
149
-
150
- # Create project from template
151
- forge init my-token --template token-program
152
- forge init my-nft --template nft-marketplace
153
- forge init my-dao --template dao-governance
154
- ```
155
-
156
- **Available Templates:**
157
- - 🪙 **token-program**: Complete SPL token with mint/transfer/burn
158
- - 🖼️ **nft-marketplace**: NFT marketplace with royalties
159
- - 🗳️ **dao-governance**: DAO with proposals and voting
160
- - 💎 **staking-rewards**: Token staking with rewards
161
- - 🔄 **escrow-swap**: Trustless token swap
162
- - ⏰ **token-vesting**: Time-based vesting schedules
163
- - 🚀 **moonshot-fair-launch**: Moonshot-compatible bonding curve
164
- - 💊 **pumpfun-launch**: Standard Pump.fun meme token
165
30
 
166
- ### Program Upgrade & Migration
167
- ```bash
168
- # Upgrade to latest Anchor version
169
- forge upgrade
170
-
171
- # Upgrade to specific version
172
- forge upgrade 0.32.1
173
-
174
- # Migration assistant (with additional checks)
175
- forge migrate 0.32.1
176
- ```
177
-
178
- ### Performance Analysis
179
- ```bash
180
- forge profile
181
- ```
182
-
183
- ### Instruction Simulation
184
- ```bash
31
+ # Preview performance and logs without spending SOL
185
32
  forge simulate
186
-
187
- # Simulate specific instruction
188
- forge simulate process_intent
189
- ```
190
-
191
- **Simulation Insights:**
192
- - ⚡ **Compute Units**: Exact CU usage for the instruction
193
- - 📜 **Prettified Logs**: All `msg!` outputs from the program
194
- - 💎 **Return Values**: Capture instruction return data
195
- - 🔮 **Dry-run**: Test logic without any SOL cost or deployment
196
-
197
- **Performance Insights:**
198
- - ⚡ Compute unit usage analysis
199
- - 💰 Cost estimation per transaction
200
- - 🎯 Optimization suggestions
201
- - 📊 Gas usage reports
202
-
203
- ### Program Monitoring
204
- ```bash
205
- forge monitor
206
- ```
207
-
208
- **Monitoring Features:**
209
- - 📈 Real-time transaction volume
210
- - 🔍 Error rate tracking
211
- - 👥 Active user analytics
212
- - 📊 Account growth metrics
213
-
214
- ### Interactive Setup
215
- ```bash
216
- forge interactive
217
- ```
218
-
219
- **Guided Wizard:**
220
- - 📦 Project name selection
221
- - 📚 Template selection
222
- - 💡 Intent-driven generation
223
- - 🔧 Anchor version configuration
224
-
225
- ### Documentation Generation
226
- ```bash
227
- forge docs
228
- ```
229
-
230
- **Auto-Generated Docs:**
231
- - 📖 API documentation from IDL
232
- - 📋 Instruction reference
233
- - 🏗️ Account structure docs
234
- - 🔗 Integration examples
235
-
236
- ### Code Quality Analysis
237
- ```bash
238
- forge quality
239
- ```
240
-
241
- **Quality Metrics:**
242
- - 📊 Code complexity scoring
243
- - 📏 Function/struct counts
244
- - ✅ Maintainability assessment
245
- - 💡 Refactoring recommendations
246
-
247
- ### Cost Calculator
248
- ```bash
249
- forge cost
250
- ```
251
-
252
- **Cost Analysis:**
253
- - 💾 Deployment costs (~2.5 SOL)
254
- - ⚡ Per-transaction fees
255
- - 📈 Monthly operation estimates
256
- - 💡 Optimization tips
257
-
258
- ### Keypair Management
259
- ```bash
260
- # Generate new keypair
261
- forge keypair generate
262
-
263
- # Generate to specific path
264
- forge keypair generate ./my-keypair.json
265
-
266
- # Import keypair
267
- forge keypair import ./keypair.json
268
-
269
- # Show keypair info
270
- forge keypair info
271
- ```
272
-
273
- ### Network Management
274
- ```bash
275
- # Switch network
276
- forge network switch devnet
277
- forge network switch mainnet-beta
278
-
279
- # Check network status
280
- forge network status
281
-
282
- # Test RPC connection
283
- forge network test
284
33
  ```
285
34
 
286
- ### Program Search
35
+ ### 4. Generate SDK
287
36
  ```bash
288
- # Search for programs
289
- forge search token program
290
- forge search nft marketplace
37
+ # Generate modern Web3.js v2 functional SDK
38
+ forge generate-sdk --v2
291
39
  ```
292
40
 
293
- ### Analytics Dashboard
294
- ```bash
295
- forge analytics
296
- ```
41
+ ## 🎯 Key Features
297
42
 
298
- **Analytics Links:**
299
- - 🔗 Solana Explorer integration
300
- - 📊 Transaction volume tracking
301
- - 📈 User activity metrics
43
+ - 💡 **Intent-Driven**: Transform natural language ("mint tokens", "create metadata") into optimized Anchor code.
44
+ - 🛡️ **Security-First**: Integrated `forge harden` system with battery-included macros (`require_signer!`, `assert_owned_by!`).
45
+ - 🚀 **Modern Standards**: Native support for **Web3.js v2**, Anchor 0.32+, and Rust Edition 2024.
46
+ - 🧪 **Complete Workflow**: Auto-generated tests, security audits, performance profiling, and one-command deployment.
302
47
 
303
- ### CI/CD Integration
304
- ```bash
305
- # Generate GitHub Actions workflow
306
- forge ci github
307
- ```
48
+ ## 📚 Documentation
308
49
 
309
- **Generated Workflow:**
310
- - ✅ Auto-test on push/PR
311
- - ✅ Security audit checks
312
- - ✅ Code quality validation
313
- - ✅ Auto-deploy to devnet
50
+ Detailed guides and references:
314
51
 
315
- ### Update FORGE
316
- ```bash
317
- forge update
318
- ```
319
-
320
- **Smart Update System:**
321
- - ✅ Checks current vs latest version
322
- - ✅ Auto-updates via npm when needed
323
- - ✅ Shows clear progress feedback
324
- - ✅ No manual version management required
52
+ - [**Command Reference**](./docs/COMMANDS.md) - Detailed guide for all CLI commands.
53
+ - [**SDK Generation**](./docs/SDK.md) - How to build and use auto-generated SDKs (v1 & v2).
54
+ - [**Troubleshooting**](./docs/COMMANDS.md#forge-status) - Common issues and how to fix them.
325
55
 
326
56
  ## 📋 Prerequisites
327
57
 
328
58
  - **Node.js** 18+
329
- - **Rust** 1.85.0+ (required for edition 2024 compatibility)
330
- - **Solana CLI** (latest)
331
- - **Anchor CLI** 0.29.0+
332
-
333
- ⚠️ **Important**: Rust 1.85.0+ is required for modern Anchor dependencies. Update with: `rustup update stable`
334
-
335
- ## 🎯 What FORGE Does
336
-
337
- FORGE transforms natural language intents into production-ready Solana programs. Modern, safe, and future-proof code generation.
338
-
339
- ### Core Features
340
- - ✅ **Intent-Driven Generation**: `"transfer 100 tokens safely"` → Modern CPI code
341
- - ✅ **Program Templates Library**: 6 battle-tested templates (Token, NFT, DAO, Staking, Escrow, Vesting)
342
- - ✅ **Automated Testing Framework**: Comprehensive test suites with security validation
343
- - ✅ **Contract Verification**: Source code transparency on Solana Explorer
344
- - ✅ **Multi-Environment Deployment**: Deploy to devnet/mainnet/localnet with safety checks
345
- - ✅ **Security Audit Tools**: Automated security analysis (--deep for advanced checks)
346
- - ✅ **Program Upgrade System**: Version management and migration assistance
347
- - ✅ **Performance Profiler**: Compute unit analysis and optimization suggestions
348
- - ✅ **Program Monitoring**: Real-time analytics and activity tracking
349
- - ✅ **Interactive CLI**: Guided project setup wizard
350
- - ✅ **Documentation Generator**: Auto-generate API docs from IDL
351
- - ✅ **Code Quality Metrics**: Complexity analysis and maintainability scoring
352
- - ✅ **Cost Calculator**: Deployment and operation cost estimation
353
- - ✅ **Keypair Management**: Secure keypair generation and import utilities
354
- - ✅ **Network Utilities**: Switch between networks, test connections
355
- - ✅ **Program Search**: Find verified programs and best practices
356
- - ✅ **CI/CD Integration**: GitHub Actions workflow generation
357
- - ✅ **Fair-Launch Support**: Integrated Moonshot & Pump.fun launching
358
- - ✅ **Security Hardening**: Auto-inject safeguards with `forge harden`
359
- - ✅ **Instruction Simulator**: Preview logs and CUs with `forge simulate`
360
- - ✅ **Complete Anchor Workspace**: Ready-to-build projects with proper structure
361
- - ✅ **Client SDK Generation**: Auto-generated Legacy & **Web3.js v2** SDKs
362
- - ✅ **Modern CPI Helpers**: `transfer_checked`, `mint_to`, PDA signers with `ctx.bumps`
363
- - ✅ **Version Compatibility**: Auto-aligns Anchor versions (CLI vs project)
364
- - ✅ **Production Ready**: IDL features, proper dependencies, deployment configs
365
-
366
- ### Generated Code Quality
367
- - 🔒 **Safe Operations**: Uses `anchor_spl::token_interface` for Token & Token-2022
368
- - 🎯 **Modern Patterns**: `InterfaceAccount`, `Interface` types (Anchor 0.31+ compatible)
369
- - ⚡ **Optimized**: Minimal boilerplate, maximum functionality
370
- - 🚀 **Future-Proof**: Edition 2024 compatible, latest Anchor best practices
371
-
372
- ### Supported CPI Intents
373
- - 💸 **Token Transfers**: `"transfer 100 tokens safely"` → `transfer_checked`
374
- - 🪙 **Token Minting**: `"mint 500 tokens to user"` → `mint_to` with PDA authority
375
- - 🎫 **ATA Creation**: `"create associated token account"` → `create_associated_token_account`
376
- - 📊 **Token Metadata**: `"create metadata for token"` → MPL Token Metadata CPIs
377
-
378
- **Example Generated Code:**
379
- ```rust
380
- // From: forge init --intent "transfer 100 tokens safely"
381
- token_interface::transfer_checked(
382
- CpiContext::new(
383
- ctx.accounts.token_program.to_account_info(),
384
- TransferChecked {
385
- from: ctx.accounts.from.to_account_info(),
386
- to: ctx.accounts.to.to_account_info(),
387
- authority: ctx.accounts.authority.to_account_info(),
388
- mint: ctx.accounts.mint.to_account_info(),
389
- },
390
- ),
391
- 100, // amount
392
- decimals, // automatic decimals lookup
393
- )?;
394
- ```
395
-
396
- **Client SDK Generated:**
397
- ```typescript
398
- // Auto-generated TypeScript client
399
- const client = new TokenTransferClient(connection, wallet);
400
- await client.transferTokens(amount, from, to, mint, authority);
401
- ```
402
-
403
- ## 🚀 SDK Generation
404
-
405
- FORGE can automatically generate production-ready TypeScript SDKs from your Anchor programs. The generated SDK includes:
406
-
407
- - **Type-Safe Client**: Full TypeScript client with proper types for all instructions and accounts
408
- - **PDA Helpers**: Utility functions to find program-derived addresses
409
- - **Package Template**: Ready-to-publish npm package with proper dependencies
410
- - **Modern Standards**: Uses latest Anchor patterns and best practices
411
- - **Web3.js v2 Support**: Functional, piped API for better performance and tree-shaking
412
-
413
- ### SDK Styles
414
- - **Legacy (default)**: Anchor-based class-based client
415
- - **Web3.js v2 (`--v2`)**: Functional client using the latest Solana standards
416
-
417
- ### SDK Features
418
-
419
- - ✅ **Zero-config generation** from Anchor IDL
420
- - ✅ **Type-safe method calls** with full IntelliSense
421
- - ✅ **PDA finder utilities** for program addresses
422
- - ✅ **Production-ready package** structure
423
- - ✅ **Anchor integration** with latest patterns
424
-
425
- ### Generated SDK Structure
426
-
427
- ```
428
- my-program-sdk/
429
- ├── package.json # Ready-to-publish npm package
430
- ├── types.ts # Auto-generated TypeScript types
431
- ├── client.ts # Program interaction client
432
- ├── pdas.ts # PDA finder utilities
433
- ├── index.ts # Main exports
434
- └── tsconfig.json # TypeScript configuration
435
- ```
436
-
437
- ### Using Generated SDKs
438
-
439
- ```typescript
440
- import { MyProgramClient } from 'my-program-sdk';
441
- import { Connection, Keypair } from '@solana/web3.js';
442
-
443
- // Initialize client
444
- const connection = new Connection('https://api.mainnet-beta.solana.com');
445
- const client = new MyProgramClient(connection);
446
-
447
- // Call program methods with full type safety
448
- const txId = await client.myInstruction({
449
- accounts: {
450
- user: userPublicKey,
451
- // ... other accounts
452
- },
453
- args: {
454
- amount: 1000,
455
- // ... other args
456
- }
457
- });
458
- ```
459
-
460
- ## 🛠️ Troubleshooting
461
-
462
- ### Version Compatibility Issues
463
- If you encounter build errors:
464
-
465
- 1. **Update Rust**: `rustup update stable` (requires 1.85.0+)
466
- 2. **Check versions**: `forge status` (shows mismatches)
467
- 3. **Specify version**: `forge init --anchor-version 0.32.1`
468
-
469
- ### Common Errors
470
- - `edition2024` errors → Update Rust to 1.85.0+
471
- - Version mismatches → Use `forge status` to check alignment
472
- - Build failures → Ensure Anchor CLI matches project versions
473
-
474
- ## 🚫 What FORGE Does NOT Do
475
-
476
- FORGE does not:
477
- - Host your code
478
- - Manage your keys
479
- - Abstract blockchain risks
480
- - Hold your hand
481
-
482
- If you want magic, look elsewhere.
483
-
484
- ## 📚 Requirements
485
-
486
- You must have:
487
- - Basic Rust knowledge
488
- - Understanding of Solana concepts
489
- - Your own wallet and keys
490
- - Test SOL for deployment
491
-
492
- ## 🔧 Commands
493
-
494
- | Command | Description |
495
- |---------|-------------|
496
- | `forge init <name>` | Create new Anchor project with optional intent |
497
- | `forge init <name> --intent "transfer tokens"` | Generate CPI code from natural language |
498
- | `forge init <name> --anchor-version 0.31.0` | Specify Anchor version for project |
499
- | `forge generate-sdk [dir]` | Generate TypeScript SDK from Anchor program |
500
- | `forge status` | Check environment, versions, and compatibility |
501
- | `forge update` | Update FORGE to latest version |
502
- | `forge deploy` | Deploy program to Solana network |
503
- | `forge harden` | Apply security safeguards to your project |
504
- | `forge simulate` | Preview logs and CU usage for instructions |
505
-
506
- ## 📖 Examples
507
-
508
- ### Basic Project Creation
509
- ```bash
510
- # Simple Anchor project
511
- forge init my-project
512
- cd my-project
513
- forge status
514
- ```
515
-
516
- ### Intent-Driven CPI Generation
517
- ```bash
518
- # Generate token transfer program
519
- forge init token-transfer --intent "transfer 100 tokens safely"
520
- cd token-transfer
521
-
522
- # Modern CPI code is automatically generated:
523
- # - transfer_checked with decimals validation
524
- # - InterfaceAccount<TokenAccount> types
525
- # - Proper error handling
526
-
527
- anchor build # ✅ Works immediately
528
- anchor test # ✅ Ready for testing
529
- ```
530
-
531
- ### Client SDK Generation
532
- ```bash
533
- # Generate program with auto-generated TypeScript SDK
534
- forge init token-transfer --intent "transfer tokens safely"
535
-
536
- # Project structure includes:
537
- # ├── programs/token-transfer/src/lib.rs # Anchor program
538
- # └── client/ # Auto-generated SDK
539
- # ├── index.ts # Client class
540
- # ├── idl.ts # Program IDL
541
- # ├── package.json # SDK package
542
- # └── tsconfig.json # TypeScript config
543
-
544
- # Build and use the SDK
545
- cd client && npm install && npm run build
546
-
547
- # Use in your frontend/dApp:
548
- import { TokenTransferClient } from './client';
549
- const client = new TokenTransferClient(connection, wallet);
550
- await client.transferTokens(amount, from, to, mint, authority);
551
- ```
552
-
553
- ### SDK Generation
554
- ```bash
555
- # Generate SDK after building your program
556
- cd my-project
557
- anchor build
558
- forge generate-sdk
559
-
560
- # SDK appears in ./sdk/ directory
561
- cd sdk
562
- npm install
563
- npm run build
564
-
565
- # Publish your SDK
566
- npm publish
567
- ```
568
-
569
- ### Advanced Usage
570
- ```bash
571
- # Mint tokens with PDA authority
572
- forge init token-minter --intent "mint 500 tokens to user"
573
-
574
- # Custom Anchor version
575
- forge init legacy-project --anchor-version 0.30.1
576
-
577
- # Stay updated
578
- forge update
579
- ```
580
-
581
- ## 🏗️ Architecture
582
-
583
- ```
584
- FORGE Ecosystem
585
- ├── forge-solana-sdk (npm) - Node.js CLI tool
586
- │ ├── Intent parsing & code generation
587
- │ ├── Version compatibility management
588
- │ ├── Project scaffolding
589
- │ └── Deployment orchestration
590
-
591
- └── forge-runtime (crates.io) - Rust runtime library
592
- └── Future: Enhanced runtime capabilities
593
- ```
594
-
595
- **Current Focus**: CLI-first approach with intent-driven generation. Runtime library for future enhancements.
596
-
597
- ## 🐛 Support
598
-
599
- **FORGE is infrastructure, not a tutorial.** If you need help:
600
-
601
- ### Getting Help
602
- 1. **Run diagnostics first**: `forge status` (includes version compatibility checks)
603
- 2. **Check prerequisites**: Ensure Rust 1.85.0+, Node 18+, Anchor CLI installed
604
- 3. **File an issue**: Include `forge status` output and error details
605
- 4. **Describe expected vs actual**: What did you expect? What happened instead?
606
-
607
- ### Before Asking
608
- - ✅ Have you run `forge status`?
609
- - ✅ Is your Rust version 1.85.0+?
610
- - ✅ Are you in an Anchor project directory?
611
- - ✅ Have you tried `forge update`?
612
-
613
- **If you don't understand Solana concepts, learn Solana first.** FORGE assumes basic blockchain knowledge.
59
+ - **Rust** 1.85.0+ (`rustup update stable`)
60
+ - **Solana & Anchor CLI**
614
61
 
615
62
  ## 📄 License
616
-
617
- MIT - [https://github.com/forge-protocol/forge/blob/main/LICENSE](https://github.com/forge-protocol/forge/blob/main/LICENSE)
618
-
619
- ## 🔗 Links
620
-
621
- - **Homepage**: [https://github.com/forge-protocol/forge](https://github.com/forge-protocol/forge)
622
- - **NPM Package**: [https://www.npmjs.com/package/forge-solana-sdk](https://www.npmjs.com/package/forge-solana-sdk)
623
- - **Issues**: [https://github.com/forge-protocol/forge/issues](https://github.com/forge-protocol/forge/issues)
63
+ MIT
624
64
 
625
65
  ---
626
-
627
- **FORGE: Intent → Code. No magic, just infrastructure.** ⚡
66
+ **FORGE generates code, not excuses.** 🔗 [GitHub](https://github.com/forge-protocol/forge)
package/dist/cli.js CHANGED
@@ -28,7 +28,7 @@ const program = new commander_1.Command();
28
28
  program
29
29
  .name('forge')
30
30
  .description('FORGE - Intent-driven app assembly on Solana')
31
- .version('3.4.0');
31
+ .version('3.4.1');
32
32
  program
33
33
  .command('init [projectName]')
34
34
  .description('Initialize a new FORGE project')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forge-solana-sdk",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "FORGE - Intent-driven app assembly on Solana",
5
5
  "main": "dist/index.js",
6
6
  "bin": {