(refactor) renames wallet to tran or transaction