I couldn't find any template projects for NX payloads, so I made one based on Lockpick_RCM, with the help of its developer, shchmue. Install devkitARM and run make. = Massive Thanks to CTCaer!