finish first version of sequential determinstic wallet implementation