As for the wallet integration of AEX2, we can easily interact with AEPP, but we need to set the address and private key in the initialization. I think this is unreasonable, because in some cases, the private key is encrypted, and the user must obtain the real private key to open the page of AEPP
I think it is more reasonable to set only the public key address during initialization, and the private key address at the final confirmation. Do you think?
this is old aex2 code
I hope the
It should be reasonable to pass in the private key when the accept is executed. Then the user decrypts his private key and signs