Methods and materials are provided for the production of glycosylated peptides that exhibit high affinity and specificity for delta opioid receptors. The methods and materials of the present invention may be used for treatment of conditions involving pain, such as acute pain and nociceptic pain, neuralgia and myalgia.