I was wondering if he made gunpowder with nitrate, sulfur and charcoal, or powdered sugar and nitrate

Clever to rig it with batteries instead of firing pin