Skip to content

feat(ecosystem): enforce raw amount semantics across miniapp transactions#442

Merged
Gaubee merged 1 commit intomainfrom
feat/raw-amount-standard-phase1
Feb 12, 2026
Merged

feat(ecosystem): enforce raw amount semantics across miniapp transactions#442
Gaubee merged 1 commit intomainfrom
feat/raw-amount-standard-phase1

Conversation

@Gaubee
Copy link
Contributor

@Gaubee Gaubee commented Feb 12, 2026

Summary

  • enforce raw-only amount validation for bio_createTransaction, bio_sendTransaction, and bio_destroyAsset
  • add shared raw amount parsing helpers and keep destroy confirmation display/execution aligned to raw semantics
  • align teleport miniapp to convert input amount into raw before requesting host transaction creation
  • document the raw amount standard in white-book and bio-sdk communication guide
  • add targeted unit tests for raw helpers and ecosystem handlers

Validation

  • pnpm -C miniapps/teleport lint:run
  • pnpm -C miniapps/teleport typecheck:run
  • pnpm -C packages/bio-sdk typecheck:run
  • pnpm vitest run src/services/ecosystem/__tests__/raw-amount.test.ts src/services/ecosystem/__tests__/destroy-handler.test.ts src/services/ecosystem/__tests__/transaction-handler-amount.test.ts src/services/ecosystem/__tests__/transfer-handler.test.ts

@Gaubee Gaubee merged commit c0211ee into main Feb 12, 2026
5 checks passed
@Gaubee Gaubee deleted the feat/raw-amount-standard-phase1 branch February 12, 2026 02:07
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