This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env node | |
| /** | |
| * HumidiFi Swap Parser | |
| * Parses and decodes obfuscated swap data from HumidiFi transactions on Solana. | |
| * | |
| * HumidiFi obfuscates swap parameters using XOR encryption. This script decrypts | |
| * the data and extracts: pool address, tokens involved, and swap amounts. | |
| * | |
| * Usage: | |
| * node humidifi-swap-parser.js <transaction_signature> |