Creating custom tokens

Hello I am developing an Auction smart contract and I want to create a token to symbolize the asset that is being auctioned given a name
Any ideas on how I might achieve this?
I have seen the following example: plutus/Auction.hs at master · input-output-hk/plutus · GitHub
But I cannot really work out how to create the token in the endpoint instead of using it in the state machine.
Thank you