Mint erc721 but paying with erc20 token

Dear

I have my own ERC20 token publish already
I try to use my own ERC20 token for payment NFTMarket place (ERC721) instead of ETH

i use the contract from this repo folk from scaffold-eth
https://raw.githubusercontent.com/zh/scaffold-eth/minting/packages/hardhat/contracts/AwesomeAssets.sol

how i can edit this file to accept payment only from my token

i googling and found i must add the _acceptedToken into contractor of contract file , but i dont konw how to apply to above repo

pls help

HI

I am interested to work on this task. to discuss further, please connect on telegram @hreela

Thanks.