We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As stated in the docs:
Wagmi actions can help us interact with wallets and smart contracts:
import { readContract } from '@wagmi/core' import { USDTAbi } from '../abi/USDTAbi' const USDTAddress = '0x...' const data = readContract({ address: USDTAddress, abi: USDTAbi, functionName: 'symbol' })
Read more about Wagmi actions for smart contract interaction here.
But if you follow the link:
import { readContract } from '@wagmi/core' import { abi } from './abi' import { config } from './config' const result = await readContract(config, { abi, address: '0x6b175474e89094c44da98b954eedeac495271d0f', functionName: 'totalSupply', })
Is config missing from the docs?
https://docs.reown.com/appkit/javascript/core/installation?platform=wagmi
The text was updated successfully, but these errors were encountered:
modal of class AppKit doesnt have disconnect function
Sorry, something went wrong.
modal of class AppKit doesnt have disconnect function We are solving this issue soon. https://linear.app/reown/issue/APKT-1045/[bug]-disconnect-is-not-exposed
@rtomas what about config?
@vanyasav Where I can find that config import ?
modal.adapter.wagmiConfig
No branches or pull requests
Summary
As stated in the docs:
Wagmi actions can help us interact with wallets and smart contracts:
Read more about Wagmi actions for smart contract interaction here.
But if you follow the link:
Is config missing from the docs?
Link to the related docs page
https://docs.reown.com/appkit/javascript/core/installation?platform=wagmi
The text was updated successfully, but these errors were encountered: