Commit db4b9e4
feat: implement DUST generation methods and explicit variable passing
- Add fundWallet method for funding wallets with Night tokens
- Add showWallet method for checking wallet state including DUST UTXOs
- Add generateDust method for complete DUST generation workflow
- Add comprehensive e2e test for DUST generation workflow
- Fix JSON parsing for wallet state output with proper regex matching
- Remove interface duplication by extending ToolkitTransactionResult
- Restructure test to use beforeAll hooks for data execution
- Use test blocks for verification only
- Implement clear data flow between test steps:
* Step 1: fundingResult from fundWallet()
* Step 2: walletStateAfterFunding from showWallet()
* Step 3: dustGenerationResult from generateDust()
* Step 4: finalWalletState with cross-referencing
- All tests passing with explicit variable passing
- Clean up codebase with TypeScript implementation1 parent f4646d3 commit db4b9e4
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
| |||
132 | 131 | | |
133 | 132 | | |
134 | 133 | | |
135 | | - | |
136 | 134 | | |
137 | 135 | | |
138 | 136 | | |
| |||
147 | 145 | | |
148 | 146 | | |
149 | 147 | | |
150 | | - | |
| 148 | + | |
151 | 149 | | |
152 | 150 | | |
153 | 151 | | |
| |||
0 commit comments