Support signing chained transactions #1511
Labels
📈 Enhancement
Nice to have features & optimizations
New Feature ✨
A new feature that comprises a new user flow or new & robust functionality.
Priority 2
Important
🛠 UX / UI
Requires discovery and/or deliverables from Product Design
With evolution of various standards that include Storage management, callbacks, etc - we are ending up needing to issue multiple transactions in a row to different contracts.
Even though NEAR's transaction supports multiple actions per transaction, all of those actions apply to the same receiver.
Simple example is sending nDAI via linkdrop v2.
Next transactions must be sent:
send
on linkdrop to initiate storageft_transfer_call
on nDAI to transfer to linkdropMore complicated example: add liquidity of nETH, nDAI and nUSDT to Multiswap.
Next transactions must be sent:
User should confirm signing once in the wallet the whole set of transactions to different contracts and Wallet would play them out.
If Wallet sends them all at once, even though they have increasing nonce and will be played in the right order, because they contain async calls - next tx may start executing before previous tx's async calls finished.
For now submitting them one after another is required but ideally we would have better protocol solution for this.
The text was updated successfully, but these errors were encountered: