adding sent transaction to ledger