xr8038 output
The supply voltage of XR8038 is 10 to 30V (single) or +/-5 to +/-15V (dual) ..
If connected correctly, this IC will draw ≈10-15mA (data sheet says the max current is 20mA) and you don't need to warry about it - ICs draw as much current as they need ..
I'd suspect that you connected the supply voltage the other way around: + to - and - to + (reversed), or voltage was fed to wrong pins or something like that ..
In the future, you should consider construction of a "proper" laboratory power supply that will give you control over the output voltage (5-30V) and current (0-1A or more) .. and obviously make sure that all connections are correct ..
Keep in mind, a mine defuser makes only one mistake !!!
Regards,
IanP