feat: added a dynamic smart contract(Price Feed) - #152
Conversation
|
Thank you for opening your first pull request in our repository, one of our maintainers will get in touch with you soon. DO NOT FORGET TO ADD METAMASK WALLET ADDRESS IN THE AUTH FORM Rewards : T-shirts & NFT ( for blockchain contributions ) Best of luck on your Contributions |
|
PR is not linked to any issue, please make the corresponding changes in the body. |
|
Not quiet sure how is this dynamic. Would have preferred if you are sending the price from the connected app. @advaita-saha please look into it |
|
@bartick I thought I just had to get data from an oracle for a dynamic contract. I may have misunderstood, any suggestions how I can rectify it? |
Description
Created a smart contract which uses an oracle(chainlink price feed) for getting real time price of eth/usd
Fixes #9
Dependencies
chainlink contracts v0.8
Future Improvements
Further the contract can be made more intuitive and optimizations can be done
Mentions
NA
Screenshots of relevant screens
Developer's checklist
If changes are made in the code: