How is it done? Do I hand them the materials and a fee/tip through a trade window? What if I get scammed?

Trying to advance my relic quest but the crafted precursor is ridiculously expensive on the market board.