@decentology/hyperverse-celo
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published
Hyperverse logo Celo logo

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

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

Readme

Keywords

none

Package Sidebar

Install

npm i @decentology/hyperverse-celo

Weekly Downloads

1

Version

1.2.2

License

MIT

Unpacked Size

17.7 kB

Total Files

11

Last publish

Collaborators

  • 0xgel
  • jacob-tucker
  • jsheely