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

http is in vien, not wagni #4393

Closed
oehm-smith opened this issue Nov 9, 2024 · 3 comments
Closed

http is in vien, not wagni #4393

oehm-smith opened this issue Nov 9, 2024 · 3 comments
Labels
Area: Docs Area: Documentation

Comments

@oehm-smith
Copy link

What is the type of issue?

No response

What is the issue?

Howdy, I'm writing a react app and the doco says to use http from wagni. However it doesn't exist there and instead I found (what I believe is correct) in viem (but what happens if using ethers instead)?. My updated code is:

import { createConfig } from 'wagmi'
import { mainnet, sepolia, bsc } from 'wagmi/chains'
import {http} from "viem";

export const config = createConfig({
  chains: [mainnet, sepolia, bsc],
  transports: {
    [mainnet.id]: http(),
    [sepolia.id]: http(),
    [bsc.id]: http(rpcURL),
    ...

doco currently says

Also I wonder about the injected connector statement - is that true as I can't see that used? Maybe its implicit but if so that should be highlighted.

Otherwise, thanks for your project!

Where did you find it?

https://wagmi.sh/react/getting-started

@oehm-smith oehm-smith added the Area: Docs Area: Documentation label Nov 9, 2024
@tmm
Copy link
Member

tmm commented Nov 9, 2024

@tmm tmm closed this as not planned Won't fix, can't repro, duplicate, stale Nov 9, 2024
@oehm-smith
Copy link
Author

My bad. I picked up someone's project to work on, installed wagmi and started coding. What i didn't realise was that they had already installed it (at an old version) and my installation didn't change to the latest version. Hence I was looking at old code. Please close this.

Copy link
Contributor

This issue has been locked since it has been closed for more than 14 days.

If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest Wagmi version. If you have any questions or comments you can create a new discussion thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area: Docs Area: Documentation
Projects
None yet
Development

No branches or pull requests

2 participants