Pakistan moves to legalize crypto to attract global investment