Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create deployCreateXCreate2 handler #11

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

jakim929
Copy link
Contributor

No description provided.

@jakim929
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@jakim929 jakim929 marked this pull request as ready for review November 20, 2024 21:01
@jakim929 jakim929 requested a review from a team as a code owner November 20, 2024 21:01
@jakim929 jakim929 requested review from mslipper and removed request for a team November 20, 2024 21:01
@jakim929 jakim929 merged commit 61a9ad5 into main Nov 20, 2024
2 of 3 checks passed
@jakim929 jakim929 deleted the 11-20-feat_create_deploycreatexcreate2_handler branch November 20, 2024 21:01
Comment on lines +18 to +25
const hash = await client.writeContract({
abi: createXABI,
chain: client.chain,
account: client.account!,
address: createXAddress ?? CREATEX_ADDRESS,
functionName: 'deployCreate2',
args: [salt, initCode],
});
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this one where if u pass a privateKeyAccount it uses eth_sendrawtransaction but if just an address it uses eth_sendtransaction

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