currently creating a smart contracts application on a private blockchain and came to a similar thought as your #2
> using pieces of Bitcoin
ECDSA is great, have you run across any db's using it? Seems like a great component to extract from the blockchain craze