Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wallet initialization and signing transaction problem #149

Open
Kiong2002 opened this issue Jan 4, 2025 · 3 comments
Open

wallet initialization and signing transaction problem #149

Kiong2002 opened this issue Jan 4, 2025 · 3 comments

Comments

@Kiong2002
Copy link

QQ_1735991504817

Hi there, I was wondering why after executing clause 'signedTx = await wallet.signTransaction(transactionParams)', signedTx stay pending status, which caused the signing transaction to fail. I think maybe it is because wallet is not initialized properly. Maybe it needs some connection like using some kind of proxy? NOTE: I am in China, and all the API requests I used were through proxy.
你好,我想问一下为什么执行'signedTx = await wallet.signTransaction(transactionParams)'语句后,signedTx保持pending状态,然后就无法签名?我感觉是因为wallet对象没有被初始化正确。我在中国,是不是wallet的初始化需要代理?(因为我其他的API请求都需要用代理)

@Suggs-Fix
Copy link

This issue has been preview on the Pull Requests. Visit the official live support page to initiate a chat with an agent using the chat button via OKX Help Desk.
You can provide include the link to this issue in your chat for easy rectification.

@jht6
Copy link
Collaborator

jht6 commented Jan 6, 2025

QQ_1735991504817

Hi there, I was wondering why after executing clause 'signedTx = await wallet.signTransaction(transactionParams)', signedTx stay pending status, which caused the signing transaction to fail. I think maybe it is because wallet is not initialized properly. Maybe it needs some connection like using some kind of proxy? NOTE: I am in China, and all the API requests I used were through proxy. 你好,我想问一下为什么执行'signedTx = await wallet.signTransaction(transactionParams)'语句后,signedTx保持pending状态,然后就无法签名?我感觉是因为wallet对象没有被初始化正确。我在中国,是不是wallet的初始化需要代理?(因为我其他的API请求都需要用代理)

@Kiong2002 你好,本SDK是离线签名,不涉及联网操作。问题中提到的“无法签名”具体是指什么呢,能否提供一下更详细的信息?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@jht6 @Kiong2002 @Suggs-Fix and others