Skip to content

feat(transfer): add pay password support for BioForest transfers - #91

Merged
Gaubee merged 1 commit into
mainfrom
feat/transfer-improvements
Dec 23, 2025
Merged

Gaubee merged 1 commit into
mainfrom
feat/transfer-improvements

Conversation

@Gaubee

@Gaubee Gaubee commented Dec 23, 2025

Copy link
Copy Markdown
Contributor

Summary

Adds pay password support for BioForest chain transfers when an address has a secondPublicKey set.

Changes

New Components

  • PayPasswordConfirmJob - Bottom sheet for pay password input

Updated Hooks

  • useSend - Added submitWithPayPassword function
  • use-send.types - Added SubmitResult type with pay_password_required status

Updated Pages

  • SendPage - Handles pay password flow when pay_password_required is returned

i18n

  • Added pay password translations for en/zh-CN

Flow

  1. User initiates transfer
  2. User enters wallet password
  3. If address has secondPublicKey, SDK returns password_required
  4. PayPasswordConfirmJob is shown
  5. User enters pay password
  6. Transaction is submitted with both passwords

Testing

  • TypeScript passes
  • All 117 tests pass
  • Manual testing with real BioForest chain

Related

Contributes to #29 (转账功能)

- Add PayPasswordConfirmJob component for pay password input
- Update useSend hook with submitWithPayPassword function
- Handle pay_password_required status in transfer flow
- Add i18n translations for pay password UI (en/zh-CN)
- Register PayPasswordConfirmJob in stackflow

When a BioForest address has a secondPublicKey set, the transfer
flow now prompts for the pay password before completing the transaction.
@Gaubee
Gaubee merged commit 0b92396 into main Dec 23, 2025
5 checks passed
@Gaubee
Gaubee deleted the feat/transfer-improvements branch January 4, 2026 07:22
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

Successfully merging this pull request may close these issues.

1 participant