implementing protocol buffers interface for basic wallet functions