Ridi Viharaya lies about 20 kilometres away from the ancient kingdom of Kurunegala in a small village called Ridi Gama. This temple is believed to be built by King Dutugemunu in the 2nd century BCE, as a memorial to the place where he found a silver (Ridi) ore mine which was used to finance the building of the gigantic Ruwanweli Seya . The great chronicle Mahawamsa describes the discovery of this mine by a trader.... In a southerly direction from the city, at a distance of eight yojanas, silver appeared in the Ambatthakola-cave. A merchant from the city, taking many wagons with him, in order to bring ginger and so forth from Malaya, had set out for Malaya.
Not far from the cave he brought the wagons to a halt and since he had need of wood for whips he went up that mountain. As he saw here a branch of a bread-fruit-tree, bearing one single fruit as large as a water pitcher, and dragged down by the weight of the fruit, he cut the (fruit) which was lying on a stone away from the stalk with his knife, and thinking: `I will give the first (produce as alms),' with faith he announced the (meal) time.
And there came thither four (Thera’s) who were free from the Asavas. When he had greeted them gladly and had invited them with all reverence to be seated, he cut away the rind around the stalk with his knife and tore out the bottom (of the fruit), and pouring the juice which filled the hollow forth into their bowls he offered them the four bowls filled with fruit-juice. They accepted them and went their way.
Then he yet again announced the (meal) time. Four other Thera’s, free from the Asavas, appeared before him. He took their alms-bowls and when he had filled them with the kernels of the bread-fruit he gave them back. Three went their way, but one did not depart. In order to show him the silver he went further down and seating himself near the cave he ate the kernels.
When the merchant also had eaten as he wished of the kernels that were left, and had put the rest in a bundle, he went on, following the track of the Thera, and when he saw the Thera he showed him the (usual) attentions. The Thera opened a path for him to the mouth of the cavern: `Go thou now also on this path, lay brother!' When he had done reverence to the Thera he went that way and saw the cave. Standing by the mouth of the cave and seeing the silver he struck upon it with his axe, and when he knew it to be silver he took a lump of the silver and went to his freight-wagons. Then leaving the wagons behind and taking the lump of silver with him the excellent merchant went in haste to Anuradhapura and told the king of this matter, showing him the silver. ....
As a gesture of gratitude The King decided to build a temple on the same ground and sent over 300 stone craftsmen to work on the temple. He also got a large gold plated Buddha statue to be bought from India to be kept at the site. According to the ancient book called "Ridi Vihara Asna", when the king Dutugemu