Skip to content

feat: across intent wrapper - #123

Merged
filmakarov merged 10 commits into
developfrom
feat/across-intent-wrapper
Aug 5, 2025
Merged

feat: across intent wrapper#123
filmakarov merged 10 commits into
developfrom
feat/across-intent-wrapper

Conversation

@filmakarov

@filmakarov filmakarov commented Jul 24, 2025

Copy link
Copy Markdown
Contributor

This PR adds support for a new typeof a composable call builder: Across Composable Intent.

It allows using the whole runtime erc20 balance of the multichain smart account as the input for bridging and it ensures the output amount is adjusted accordingly

❗❗ ❗ Alert: it uses unaudited experimental Across Wrapper Contract, see here.


PR-Codex overview

This PR introduces functionality for handling "across intent composable" actions in the SDK. It adds new types, instructions, and tests to facilitate cross-chain operations, enhancing the composability of transactions.

Detailed summary

  • Added BuildAcrossIntentComposableInstruction type for across intent actions.
  • Implemented buildAcrossIntentComposable function for creating composable instructions.
  • Updated buildComposable to handle "acrossIntent" type.
  • Created tests for buildAcrossIntentComposable to validate functionality.
  • Introduced fee calculation and fetching mechanisms for across protocol transactions.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@github-actions

github-actions Bot commented Jul 24, 2025

Copy link
Copy Markdown

size-limit report 📦

Path Size
core (esm) 55.59 KB (+1.44% 🔺)
core (cjs) 68.47 KB (+1.45% 🔺)
bundler (tree-shaking) 5.8 KB (0%)
paymaster (tree-shaking) 543 B (0%)

@filmakarov
filmakarov requested review from alexcambose and vr16x July 25, 2025 16:39
Comment thread src/sdk/account/decorators/instructions/buildAcrossIntentComposable.ts Outdated
Comment thread src/sdk/account/decorators/instructions/buildAcrossIntentComposable.ts Outdated

@vr16x vr16x left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@filmakarov
filmakarov merged commit 41f10eb into develop Aug 5, 2025
4 of 5 checks passed
@filmakarov
filmakarov deleted the feat/across-intent-wrapper branch August 5, 2025 07:56
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.

3 participants