OneKeyHQ / OneKeyHQ/hardware-js-sdk
怎么讲onekey生成的地址中的GAS转出
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 35
- Forks
- 39
- Avg merge
- 21h 27m
- Merged PRs (30d)
- 43
Description
HardwareSDK.evmGetAddress(data.value.payload[0].connectId, data.value.payload[0].deviceId, {
bundle: bun
})
我通过上面的方法,在onekey硬件中获取的bsc网络的地址,请问如何将这些地址中的GAS余额转出,因为使用HardwareSDK.evmSignTransaction接口,无法正常的传输转账的金额值,请问应该怎么处理
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the HardwareSDK.evmGetAddress and HardwareSDK.evmSignTransaction entry points, focusing on the BSC transaction flow and how the transfer amount is represented. Review the SDK's transaction examples or relevant implementation to determine the expected GAS transfer behavior. Done means the correct transfer flow is documented or the reported amount-handling problem is reproducible and resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100