Support for chain-specific transactions (eg: CIP42) #2817
              
                Unanswered
              
          
                  
                    
                      nicolasbrugneaux
                    
                  
                
                  asked this question in
                Ideas
              
            Replies: 1 comment 5 replies
-
| 
         This is something we are currently working on and will get rolled out in wagmi v2.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    5 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there 🌱
Following the work of @aaronmgdr in the following PRs:
We're now able to do something this:
Recently, I've been trying to use it via wagmi.
So my initial guess was to do something along these lines:
But it seems that feeCurrency just gets dropped. (and obviously
usePrepareSendTransactionisn't a generic, but this was my naive attempt)After some digging, I've hit a wall as this file
./packages/core/src/actions/transactions/sendTransaction.tsdoesn't seem to be able to handle extraneous args (in our case:feeCurrency).I've been trying to come up with a neat PR that would solve the issue, but this is – after all – a fairly foreign codebase, and I'd really appreciate some pointers if you have some ideas how to solve this :)
Beta Was this translation helpful? Give feedback.
All reactions