The Mandalorian code represents a set of principles adhered to by traditional Mandalorian fighters, which could be utilized to resolve conflicts through single combat. Following Hera Syndulla's injury by the Protector during a battle above Concord Dawn, Sabine Wren employed this code to challenge Fenn Rau to a duel. The character referred to as "Frog Lady" believed that keeping one's promises was an aspect of the Mandalorian code.
In Star Wars Legends, the concept of a Mandalorian code was quite prevalent. Throughout Mandalorian history, various iterations such as the Canons of Honor, Resol'nare, and Supercommando Codex had been established.