LinkedIn Top Voice 2023| Organizing React India, JSConf India | GDSC Lead'21 | SDE Intern at Cure.Fit'20 | Full Stack Developer
Share Dialog
Share Dialog
LinkedIn Top Voice 2023| Organizing React India, JSConf India | GDSC Lead'21 | SDE Intern at Cure.Fit'20 | Full Stack Developer

Subscribe to Yajas Sardana

Subscribe to Yajas Sardana
<100 subscribers
<100 subscribers
Progress Report:
As expected, this was the most exciting week with the maximum lines of code written.
The first priority was to fix the “approve error”. As I discovered that the USDC(PoS) token has a proxy implementation, I read the underlying contract, only to find that “approve” function well defined in it, so I was not able to understand why it was not working.
After exhausting about 6-7 hunches, I tried appending the api of this underlying contract to the USDC contract’s ABI, and the function worked! I understood that on the frontend, as the ABI did not have approve defined, as the USDC token’s abi only had delegate functions, and thus, it was throwing a does not exist error.
After fixing the above issue, I wrote the code to make the approve and NFT minting transactions gasless, and ensured the the latter runs upon the completion of the former.
I then proceeded to use Gelato’s status api to fetch the status of ongoing gasless transactions, and display real time updates.
As the whole flow for the POC was now working, what was left was making UX improvements, and deploying the project, both of which did not have much roadblocks.
The only issue remaining was that the onramp frontend was still only available in the US. I made the demo and tested things using a VPN for the time being. A future aim would be to ask for India access, or switch to a different onramp.
Overall, I had a lot of learnings from this building experience, and am super excited for demo day!

Progress Report:
As expected, this was the most exciting week with the maximum lines of code written.
The first priority was to fix the “approve error”. As I discovered that the USDC(PoS) token has a proxy implementation, I read the underlying contract, only to find that “approve” function well defined in it, so I was not able to understand why it was not working.
After exhausting about 6-7 hunches, I tried appending the api of this underlying contract to the USDC contract’s ABI, and the function worked! I understood that on the frontend, as the ABI did not have approve defined, as the USDC token’s abi only had delegate functions, and thus, it was throwing a does not exist error.
After fixing the above issue, I wrote the code to make the approve and NFT minting transactions gasless, and ensured the the latter runs upon the completion of the former.
I then proceeded to use Gelato’s status api to fetch the status of ongoing gasless transactions, and display real time updates.
As the whole flow for the POC was now working, what was left was making UX improvements, and deploying the project, both of which did not have much roadblocks.
The only issue remaining was that the onramp frontend was still only available in the US. I made the demo and tested things using a VPN for the time being. A future aim would be to ask for India access, or switch to a different onramp.
Overall, I had a lot of learnings from this building experience, and am super excited for demo day!

No activity yet