| Crates.io | halide |
| lib.rs | halide |
| version | 0.1.1 |
| created_at | 2025-03-28 08:36:07.632576+00 |
| updated_at | 2025-03-28 08:39:43.538941+00 |
| description | Flexible suite of solana developer tooling for devs that have something to do with their time |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1609374 |
| size | 65,818 |
Solana developer experience that doesn't suck.
Let's be real, Solana development can be a pain in the ass sometimes:
I once wasted 3 days debugging a transaction that failed with 0x1 as the only error. THREE. DAYS. I'm better at solana stuff now but the lads should have training-wheels
Oh, and testing my program that calls Metaplex? Had to set up a local validator, which takes forever to start, only for it to fail because of some obscure configuration issue.
halide is a CLI I built because I got tired of this crap:
# Deploy your program without the headache(wtf are buffers, and where did all my SOL go, 3 SOL! gone!)
halide deploy program.so
# Monitor ALL transactions for any program - see exactly why they're failing - just like prometheus for your backend
halide monitor Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS
# Run fast tests with LiteSVM and all the programs you actually need
halide spin litezes
// Example test that would normally be a nightmare to set up
import { setupTest, loadProgram, loadMetaplex } from 'halide';
describe('My Program', () => {
const env = setupTest();
it('can mint an NFT', async () => {
// This just works™ because Metaplex is already loaded
const result = await myProgram.mintNFT({...});
assert(result.success);
});
});
Stop guessing why your transactions are failing:
Just halide deploy and you're done. No more:
chill a bit
This is an early version that I'm using for myself. There might rough edges, but if it saves me hours it's a tool alright. PRs welcome!
MIT - do whatever you want with it