add ppwallet encode decode method