added key generation in wallet