use promises for readability
provide method to access wallet value
readded assert
added get wallet value to rest interface