Arduino code for ATtiny45

Have You looked among the existing IDE example codes?