Problem
When demoing Request Invoicing to potential app builders, the impact of chain reorgs is low - it is easily explained. The larger risk is that the process seems too slow.
Proposed Solution
Eliminate the need for block confirmations when granting approval and making a payment with the Invoice Dashboard component.
In other words, call wait() instead of wait(2)
Context
Currently, it's hard-coded to 1 block confirmation.
- Approval
 
  
  
    
        
          |  | await approvalTx.wait(2); |  
 
 
 
- Payment
 
Source
https://miro.com/app/board/uXjVK_t9NEA=/?moveToWidget=3458764603764439293&cot=14