When they were about to cross the Jordan, Moses instructs the Israelites that the Levites shall recite to the people the blessings and the curses at Mount Gerizim and Ebal respectively
Deuteronomy 27:12-14 NIV
12 When you have crossed the Jordan, these tribes shall stand on Mount Gerizim to bless the people: Simeon, Levi, Judah, Issachar, Joseph and Benjamin. 13 And these tribes shall stand on Mount Ebal to pronounce curses: Reuben, Gad, Asher, Zebulun, Dan and Naphtali.14 The Levites shall recite to all the people of Israel in a loud voice:
But when they had crossed the Jordan, it is Joshua who seems to recite the blessings and curses.
Joshua 8:34-35 NIV
34 Afterward, Joshua read all the words of the law—the blessings and the curses—just as it is written in the Book of the Law. 35 There was not a word of all that Moses had commanded that Joshua did not read to the whole assembly of Israel, including the women and children, and the foreigners who lived among them.
Incidentally, Joshua is from the tribe of Ephraim, of which Moses had said nothing concerning these blessings and curses.
So how is it that Joshua recites them before the people?