---
title: "Discussion on \"The RainbowKit + WAGMI guide I wish I had\" | Hashnode"
description: "Discussion on \"The RainbowKit + WAGMI guide I wish I had\". A guide about going from Hardhat, to deploying and verifying to connecting it to the frontend with Rainbow and Wagmi"
url: "https://hashnode.com/posts/the-rainbowkit-wagmi-guide-i-wish-i-had/62d491792f40e31decd8e263"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The RainbowKit + WAGMI guide I wish I had](https://billyjitsu.hashnode.dev/the-rainbowkit-wagmi-guide-i-wish-i-had?utm_source=hashnode&utm_medium=feed)

A guide about going from Hardhat, to deploying and verifying to connecting it to the frontend with Rainbow and Wagmi

Jul 17, 2022 · 34 min read · billyjitsu.hashnode.dev  
Updated Nov 7, 2022  
Read the article

-   [#wagmi](https://hashnode.com/tag/wagmi)
-   [#hardhat](https://hashnode.com/tag/hardhat)
-   [#solidity](https://hashnode.com/tag/solidity)
-   [#rainbowkit](https://hashnode.com/tag/rainbowkit)

## Written by

[Billy Jitsu](https://hashnode.com/@billyjitsu)

@billyjitsu · The Metaverse

  
[View profile](https://hashnode.com/@billyjitsu)

I write code and know random things

## Responses 5

Markdown supported · ⌘↵ to post

[Marin](https://hashnode.com/@bcdef)

[Dec 9, 2023](https://hashnode.com/posts/the-rainbowkit-wagmi-guide-i-wish-i-had/62d491792f40e31decd8e263/comment/657476e9e9e5c65d1da72a7d)

Good , But it s necessary to update by new version.

[Davide](https://hashnode.com/@R3D4NG3L)

[Nov 5, 2022](https://hashnode.com/posts/the-rainbowkit-wagmi-guide-i-wish-i-had/62d491792f40e31decd8e263/comment/63668fb4667570bca9350d24)

Thank you for your precious guide. I would like just to notify, not sure if it is related to an older version of Wagmi, but now parameters 'addressOrName' and 'contractInterface' are named 'address' and 'abi'.

[Billy Jitsu](https://hashnode.com/@billyjitsu)

[Nov 7, 2022](https://hashnode.com/posts/the-rainbowkit-wagmi-guide-i-wish-i-had/62d491792f40e31decd8e263/comment/63668fb4667570bca9350d24#reply-63692d7288bdfdd38cba6d30)

Hey, yes. I will need to note this is for Wagmi Version 5 and previous. Thanks for the heads up. I need to make an update soon!

[Davide](https://hashnode.com/@R3D4NG3L)

[Nov 7, 2022](https://hashnode.com/posts/the-rainbowkit-wagmi-guide-i-wish-i-had/62d491792f40e31decd8e263/comment/63668fb4667570bca9350d24#reply-63694d19fdc044d59ce2e1a1)

You're welcome and thank you again for the great work! Another update that may be useful for the readers, now with wagmi it is mandatory to use 'usePrepareContractWrite' with 'useContractWrite', I've found useful this example from Wagmi website for smart contracts write interactions: [wagmi.sh/examples/contract-write-dynamic](https://wagmi.sh/examples/contract-write-dynamic)

[Billy Jitsu](https://hashnode.com/@billyjitsu)

[Nov 9, 2022](https://hashnode.com/posts/the-rainbowkit-wagmi-guide-i-wish-i-had/62d491792f40e31decd8e263/comment/63668fb4667570bca9350d24#reply-636b270fe7a238eca8346b2c)

Great! Will add this to the updates[Davide](https://hashnode.com/@R3D4NG3L)

[Alex B.](https://hashnode.com/@Arcen)

[Oct 20, 2022](https://hashnode.com/posts/the-rainbowkit-wagmi-guide-i-wish-i-had/62d491792f40e31decd8e263/comment/6350c7716a2ab7a4082cf129)

Thank you so much! Learned a lot with the amount of detail and effort given 🙏

[Anup Adhikary](https://hashnode.com/@anup537)

[Sep 26, 2022](https://hashnode.com/posts/the-rainbowkit-wagmi-guide-i-wish-i-had/62d491792f40e31decd8e263/comment/6331d4634dd8b2344a769963)

you are totally awesome Bro!

Thanks alot .... i just sighin to Hashnode just to thank you

[Fabien Morrow](https://hashnode.com/@FabienMorrow)

[Sep 20, 2022](https://hashnode.com/posts/the-rainbowkit-wagmi-guide-i-wish-i-had/62d491792f40e31decd8e263/comment/632a0ed699624fc71cd55069)

Man.

Your article is fan-tas-tic. Thank you sooo much. I've registered on hashnode only to post this.

I'm learning all of this, hardhat, next.js, solidity.

I really loved you shared all your little tricks who make your life easier.

I Loved in particular the hardhat verify trick, and the aliasing part when grabbing values from wagmi.

Thank you so much. I struggled maybe 4-5 hours with wagmi this weekend, and after diving inside react.context and your article, everything seems pretty clear now !
