There is no reliable cheat that simply hands you ten bombs in The Legend of Zelda: Phantom Hourglass. The dependable route is to buy a Bomb Bag early on, then restock bombs from the shop whenever you run low.
Bombs are consumable, so keeping a healthy stock is mostly a matter of visiting the merchant before a dungeon run rather than hunting for an exploit. If you are stuck on a specific puzzle, the bomb flowers scattered through the temples are usually the intended solution.