Using the provably fair and verifiable random number generator provided by Chainlink VRF, smart contracts can access random values without compromising security or usability.
Chainlink, VRFRead More
You might also be interested in reading How to Buy, Sell, and Trade ERC-20 Tokens on the Ethereum Network.