Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
212 views

Wagmi useWriteContract doesnt work all the time

For all the functions i've written to contract using useWriteContract in Wagmi, it reverts atleast 2 times before i refresh and it starts working. For example this function here, This is the solidity ...
Tarun Rao's user avatar
0 votes
0 answers
30 views

Need help with Session Management for Decentralized Nextjs app using wagmi Library

Please find github gist to the source code. where i have implemented Wallet connection using WagmiProvider. I dont want to repeat adding WagmiProvider to all the pages in my application, instead i ...
gtrharish's user avatar
0 votes
2 answers
700 views

Wagmi write contract

I have this code here import React from 'react'; import { usePrepareContractWrite, useContractWrite } from 'wagmi'; import lottoABI from './lottoABI.json'; import { parseEther } from 'viem'; // ...
Joe Code's user avatar