Unique Infrared Code Development

I am creating an opensource code program that need a unique way to send infra-red data. this program will run in C++ on a off-brand Arduino nano. i need a way to send/receive commands through IR.

Hi and welcome, @TheRealDestroyer! Maybe this can help: https://www.instructables.com/Using-Infrared-Sensor-With-Arduino/