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: allow setting gas manager config in the config #670

Merged
merged 1 commit into from
May 20, 2024

Conversation

moldy530
Copy link
Collaborator

@moldy530 moldy530 commented May 17, 2024

Pull Request Checklist


PR-Codex overview

The focus of this PR is to enhance Alchemy's connection handling in React hooks and configuration by adding gas manager support and improving connection retrieval.

Detailed summary

  • Added gasManagerConfig to Connection type in types.ts
  • Implemented watchConnection and getConnection functions in actions folder
  • Updated multi-chain configurations in multi-chain-config.ts
  • Added useConnection hook in useConnection.ts
  • Updated useSmartAccountClient hook in useSmartAccountClient.ts to include gas manager config from connection

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

@moldy530 moldy530 merged commit 38dfa25 into main May 20, 2024
3 checks passed
@moldy530 moldy530 deleted the moldy/gas-manager-config-in-hooks branch May 20, 2024 16:51
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.

2 participants