Compute SOL profit-and-loss for a Solana wallet via the Helius API.
Everything lives in one file: lib.rs. No project setup required.
IN CASE YOU NEED FULL REPO: https://github.com/MattMsh/low-latency-pnl-helius
# Install runner once| addon "svm" { | |
| rpc_api_url = input.rpc_api_url | |
| network_id = input.network_id | |
| } | |
| output "address" { | |
| value = signer.payer.address | |
| } |
Compute SOL profit-and-loss for a Solana wallet via the Helius API.
Everything lives in one file: lib.rs. No project setup required.
IN CASE YOU NEED FULL REPO: https://github.com/MattMsh/low-latency-pnl-helius
# Install runner once