Stable ERC20 Using Chainlink Price Feed?


I wanted to ask what is the way to go to deploy stablecoin against USD using Chainlink price feed.

So I use standard ERC20 contract and add Chainlink price feed functions to get latest price feed to represent each token’s value?

I have found a github in which the dev deployed stable INR using chainlink but I am unable to see where i the price of the token being called in.

Please help me understand. I am learning and will try to deploy stablecoin on testnet.

Hi, welcome! :wave:

Sorry, I am not sure what do you want to do, but I think if you want to use ChainLink to get token price, you can write a function to get the price from the ChainLink contract, you can have a look at the documentation of the ChainkLink: Get the latest price | Chainlink Documentation

Thankyou for your reply.

What I really meant by can I use get price function inside while deploying an ERC20 contract to give it a stable price?