Account recovery - with recovery address #162
-
| 
         How do I recover an account with an EOA set as recovery address?  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            horsefacts
          
      
      
        Apr 18, 2024 
      
    
    Replies: 1 comment 1 reply
-
| 
         You'll need to generate an EIP-712  Collecting the signature is the tricky part. See the docs linked above for an example of how to generate it. Once you've done that, you can call recover from Etherscan. I know this is a little low level right now. We intend to publish a frontend tool to do this at some point.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        sds
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
You'll need to generate an EIP-712
Transfersignature from the address that will receive the recovered account, then callIdRegistry.recoverfrom the EOA you set as the recovery address.Collecting the signature is the tricky part. See the docs linked above for an example of how to generate it. Once you've done that, you can call recover from Etherscan.
I know this is a little low level right now. We intend to publish a frontend tool to do this at some point.