wallet constructor params order change to allow default env to production