working on transaction creation (client side)