Blockchain for Smart Transactions