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

[SPE-246] Add support for EVM wallets, separate source and destination wallets #51

Merged
merged 35 commits into from
Oct 23, 2023

Conversation

thal0x
Copy link
Member

@thal0x thal0x commented Sep 28, 2023

  • Adds support for connecting EVM based wallets
    • Currently only Metamask but will add a separate Linear issue for adding others
  • When the source chain and destination chain are different chain types (cosmos -> evm or evm -> cosmos), display an additional wallet connection button.

This PR does not address: getting EVM asset balances, making EVM transactions, anything other than connecting your wallet.

Screenshot 2023-09-29 at 9 08 32 AM

@vercel
Copy link

vercel bot commented Sep 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ibc-dot-fun ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 23, 2023 10:11am

"@wagmi/core",
"@wagmi/connectors",
"viem",
"abitype",
Copy link
Member Author

Choose a reason for hiding this comment

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

This is all just due to weird CJS vs ESM interactions when running Jest. I think I'm going to add a task to migrate to vitest since it doesn't have these problems and I've had a good experience with it in the skip-router repo

@thal0x thal0x changed the title add support for evm wallets, separate source and destination wallets [SPE-246] Add support for EVM wallets, separate source and destination wallets Sep 29, 2023
@thal0x thal0x marked this pull request as ready for review September 29, 2023 11:24
@thal0x thal0x self-assigned this Sep 29, 2023
@thal0x thal0x requested a review from grikomsn September 29, 2023 11:24
@@ -18,7 +18,7 @@ export const SkipContext = createContext<
export const SkipProvider: FC<PropsWithChildren> = ({ children }) => {
const { client: walletClient } = useWalletClient();

const skipClient = new SkipRouter(SKIP_API_URL, {
const skipClient = new SkipRouter("https://solve-dev.skip.money", {
Copy link
Contributor

Choose a reason for hiding this comment

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

Thoughts on moving to env based vars?

@thal0x thal0x merged commit 5a10656 into evm-support-main Oct 23, 2023
3 checks passed
@thal0x thal0x deleted the SPE-246/evm-wallet-connect branch October 23, 2023 10:11
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