Skip to content

feat(send): route meta sends through burner-core (#210)#307

Open
yanyishuai wants to merge 1 commit into
austintgriffith:masterfrom
yanyishuai:fix/issue-210-burner-core-sends
Open

feat(send): route meta sends through burner-core (#210)#307
yanyishuai wants to merge 1 commit into
austintgriffith:masterfrom
yanyishuai:fix/issue-210-burner-core-sends

Conversation

@yanyishuai

Copy link
Copy Markdown

Summary

Delegates meta-account coin/token sends to @burner-wallet/core for bounty #210.

Changes

  • Add src/services/burnerSend.js
    • Native xDai sends via xdaiAsset.send() when LocalSigner owns the meta key
    • Token sends sign through core.signTx() and broadcast on the xDai gateway
    • wrapNativeSend() keeps injected MetaMask sends on the legacy Dapparatus path
  • Wire send wrappers in Transactions.onReady
  • Extend tokenSend() to use burner-core signing for meta accounts

Wallet

Do4v7foHJvRJLpRRoGaVPWX6DDEjX3yTK7J91gpwUQpE

Fixes #210

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.

Handle "sends" with burner-core

1 participant