Here's a bit of disappointing news: Silver the Hedgehog isn't actually featured in Sonic & Sega All-Stars Racing, which means he isn't an unlockable character. There's simply no way to add him to the roster.
While that's a shame for Silver fans, he's still a beloved character in the broader Sonic universe. So for this particular racer, you'll have to make do with the characters who did make the cut.