One thing you have to be aware of is that neither transistor nor its base resistor are part of a relay; they are external components, and they help to drive a relay of TTL/CMOS circuits (example of a relay driven by a CMOS gate is attached) ..
Pins 1 and 10 can be connected either way, however, you can find some relays with the protective diode build-in, and then the (+) and (-) signs are important, so, in your case, leave (10) at the transistor side, and (1) connected to Vcc ..
Regards,
IanP