Cryptocurrency coding question

No.13204180 ViewReplyOriginalReport
Anyone know how to peg the price of an ERC 20 token to the value of gold? What needs to be done in the coding of the smart contract?