GHB is often made illegally in homemade labs from the chemicals found in cleaning supplies. These include either GBL (gamma-butyrolactone) or BDO (1,4 butanediol) along with sodium hydroxide or potassium hydroxide.
Dosages are nearly impossible to standardize, and effects will not be known until ingested.