realize the OTP and eCash moudle