was a Buddhist temple located in the Shuritonokuracho neighborhood of the city of Naha, Okinawa Prefecture, Japan. It belonged to the Rinzai school sect of Japanese Zen and its honzon is a Shaka Sanzon trinity of Shaka Nyorai, Monju Bosatsu and Fugen Bosaatsu. The temple's full name is (). It was the bodaiji of the kings of Second Shà  dynasty of the Ryà «kyà « Kingdom. The site of the temple was designated a National Historic Site of Japan in 1972.
This temple was founded in 1494 by King Shà  Shin (r. 1477âÂÂ1526), the first abbot being Kaiin Shà Âko (), to pray for the repose of his father, King Shà  En. Kaiin Shà Âko, who first introduced Rinzai Buddhism to the Ryà «kyà « islands from Nanzen-ji in Kyoto, but the temple itself was modeled after Engaku-ji in Kamakura. It was a full Shichidà  garan and later expanded outside its original precincts with the Pond and Bridge were constructed outside the temple gate, and the Pond and sutra hall (later the Hall) built in front of the temple. The temple bell () was cast in Suà  Province (present-day Hofu, Yamaguchi). It was made in 1495 and is engraved with the name "Yamato Akihide, Blacksmith and Carpenter," indicating that the temple had connections with the à Âuchi clan, who ruled Suà  at the time.The temple prospered under the support of the Second Shà  Dynasty, and held an extremely important position in the history of the Ryà «kyà « Kingdom. Ryà «kyà «an kings would visit , Tennà Â-ji and Tenkai-ji after their ( and investiture. The Pond was used as a venue for banquets for Chinese envoys visiting for the investure ceremonies of Ryà «kyà « kings.
Many of the temple's structures, including the , Gate, and Hà Âjà  (abbot's quarters), were designated National Treasures in 1933. However, all but the Bridge were destroyed during the 1945 Battle of Okinawa in World War II. After the war, the site was used to build faculty housing for the University of the Ryukyus in 1948, and the university's grounds around 1965. Remaining structures, such as foundations and stone pavements, were destroyed or buried underground. The (general gate) and Bridge were reconstructed in 1968 and the pond repaired. The University of the Ryukyus was relocated in 1984, and work is underway to fully uncover and restore the remains. The remaining grounds, excluding the former University of the Ryukyus site, are now part of the Okinawa Prefectural University of Arts.
The government of Okinawa Prefecture began plans to reconstruct its in 2014. However, the project was repeatedly delayed, partly due to a lack of accurate historical records, and is now scheduled for completion in 2027. Efforts are also underway to restore the two Nià  statues once housed in the gate, only fragments of which remain.
once housed portrait paintings of the kings of the Second Shà  Dynasty. With the end of the Ryà «kyà « Kingdom in the Meiji period, these were moved to Nakagusuku Palace. However, they were all lost during the Battle of Okinawa. Images remain in black-and-white photographs taken before the war, and are currently on display at Shuri Castle.