This is the easiest way to power the LEDs, you could use a 12V power supply if you want to have a lower current draw (so you can use a smaller transistor), but for just 10 LEDs, the first one is fine as well.
Please note that this schematic is for white or blue LEDs only, other colours have a much lower voltage drop.
