return a promises from the transactions

I am opening this so @hjdivad and @stefanpenner could comment. Let me know guys if I should continue to work on this.