Hyperverse EVM Celo
This module allows you to connect to the Celo blockchain using the Hyperverse dependencies for quickly getting your web2 website or application onto web3
Note: This module acts as a configuration module for the base implementation found in Hyperverse-EVM module
Installation
npm install @decentology/hyperverse @decentology/hyperverse-evm-celo
Features
- Connecting to Celo blockchain mainnet and testnet
- Accessing signer from Rainbowkit wallet provider
- Access to all EVM supported Hyperverse modules
Getting Started
Initialize Hyperverse
import { initialize } from '@decentology/hyperverse';
import { Celo } from '@decentology/hyperverse-celo';
const hyperverse = initialize({
blockchain: Celo,
network: Network.Testnet,
modules: [],
});
Provider
Wrap application in import { Provider } from '@decentology/hyperverse';
function MyApp() {
return <Provider initialState={hyperverse}>...Your components</Provider>;
}
Getting signer
import { useCelo } from '@decentology/hyperverse-evm-celo';
function Component() {
const { signer } = useCelo();
return <div>{signer}</div>;
}
Primary Dependencies
Documentation
For more information and learn about Hyperverse checkout the resources below