Installation
Requirements
- Node.js version 16 or higher
- A Celo-compatible wallet
- Access to a Celo node (mainnet, alfajores testnet, or local node)
Installing the Package
Install the CeloRefer SDK and its peer dependencies using npm:Peer Dependencies
The CeloRefer SDK has a peer dependency on viem, which is not installed automatically. You must install it yourself:Supported Environments
The SDK works in both Node.js and browser environments:- Node.js >= 16
- Modern browsers (Chrome, Firefox, Safari, Edge)
- Bundlers like webpack, Rollup, or Vite