Fast transaction by default
Status
Assign
type
effort points
0
Start Date
Apr 4, 2022
End Date
priority
tags
Github PR
As we have to display a loading screen while the transaction is processing, it can be a slow process during network congestion. A feasible solution is to use the βfastβ gas price fetched from PolygonScan by default for every transaction. Being an L2 solution, it is very affordable only increases the transaction cost by $0.04 (tested during the network congestion in the week of March 21).
Β
Resource
Tasks:
Create a server-side function to fetch the βfastβ gas price. We donβt want to put this on the client-side. Although itβs easy, doing so will expose our API key.
A function call in the theme-app-extension during transaction creation.
Test on the development store.
Β
Β