Patents attract some of the most tax adventageous benefits in Ireland.
A "qualifying patent" is defined as a patent in relation to which the research, planning, processing, experimenting, testing, devising, designing, developing or similar activity leading to the invention, the subject of the patent, was carried out in Ireland. A ‘person’ can be an individual or a company.
Qualifying patent income is disregarded for corporation tax purposes and exempt for income tax purposes.
There are criteria and limits but nothing that should hinder you availing of this exemption.
Speak to someone that has experience in this area.
R&D tax credits could also be available which can be used to shelter Employers PRSI. Get a good accountant with the necessary expertise in these areas. If you go through Enterprise Ireland, they might fund a mentor for you i.e. your mentor could be your accountant!