@decentology/hyperverse-celo
v1.2.2
Published
<table> <tr> <td><a href="https://www.hyperverse.dev/#gh-dark-mode-only"> <img src="../../.github/Hyperverse_Logo_Vertical_White.svg" alt="Hyperverse logo" /> </a> </td> <td> <a href="https://celo.org/#gh-dark-mode-only"> <img src=".github/celo-logo-re
Downloads
11
Readme
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: [],
});
Wrap application in Provider
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