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: add export wallet component to hook #569

Conversation

avasisht23
Copy link
Contributor

@avasisht23 avasisht23 commented Apr 11, 2024

Pull Request Checklist


PR-Codex overview

This PR introduces new React hooks for handling wallet export, message signing, and typed data signing in the Alchemy project.

Detailed summary

  • Added ExportWalletParams type for exporting wallet
  • Added useExportWallet hook for wallet export functionality
  • Added useSignMessage hook for message signing
  • Added useSignTypedData hook for typed data signing

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

@avasisht23 avasisht23 mentioned this pull request Apr 11, 2024
7 tasks
@avasisht23 avasisht23 changed the base branch from main to ajv/add_sign_messages_and_typeddata_hooks April 11, 2024 07:18
@@ -1,16 +1,25 @@
"use client";

import { useMutation, type UseMutateFunction } from "@tanstack/react-query";
import React from "react";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

needed this for some reason the linter complained about
image

@moldy530
Copy link
Collaborator

oh wait just saw this. I added the snippet we used last night to your other PR. I think we should just do it there

@avasisht23
Copy link
Contributor Author

closing in favor of #567

@avasisht23 avasisht23 closed this Apr 12, 2024
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