alchemyplatform / alchemyplatform/aa-sdk
`useSendCalls` hook unavailable through React Native package
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 321
- Forks
- 231
- Avg merge
- 43m
- Merged PRs (30d)
- 3
Description
Environment
- AA SDK version: 4.81.0
- Package: react-native
Describe the problem
useSendCalls is not available for import either through @account-kit/react-native or @account-kit/react/hooks, making it unavailable in React Native builds
How to reproduce:
- Follow the Expo getting started tutorial: https://www.alchemy.com/docs/wallets/react-native/getting-started/getting-started-quickstart
- Switch the smart account client to use EIP-7702 mode:
const { client } = useSmartAccountClient({
accountParams: {
mode: "7702",
}
});
- Attempt to use the client with
useSendCalls:
const { sendCallsAsync } = useSendCalls({ client });
- Note, there is nowhere to import
useSendCallsfrom
Relevant code or sample repro:
import { useSendCalls } from "@account-kit/react-native";
or
import { useSendCalls } from "@account-kit/react/hooks";
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the exports of @account-kit/react-native and @account-kit/react/hooks, then compare them with the React Native package's available hooks. Verify the Expo quickstart using EIP-7702 mode and confirm that useSendCalls can be imported and used to obtain sendCallsAsync in a React Native build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 62/100