ContractKit has been sunset for external use. Please use viem or wagmi for connecting with the blockchain.Check out the migration guide for updating your dapp from ContractKit to viem.To learn more visit the Celo forum.
Installation and System Requirements
To install, run the following:- npn
- yarn
- pnpm
- Bun
Initializing the Kit
To start working with ContractKit you need akit instance and a valid net to connect with. In this example will use alfajores (you can read more about it here)
Initialize the Kit with your own node
If you are hosting your own node (you can follow this guide to run one) you can connect our ContractKit to it.Web3 we support WebSockets, RPC and connecting via IPC.
For this last one you will have to initialize the kit with an instances of Web3 that has a valid IPC Provider

