cive
TypeScript icon, indicating that this package has built-in type declarations

0.8.1 • Public • Published

CIVE

Cive is an interface for the Conflux Core Space, built on Viem.

Install

Use npm

npm install cive

Or pnpm

pnpm add cive

Or yarn

yarn add cive

Usage

// 1. Import modules
import { createPublicClient, http } from "cive";
import { mainnet } from "cive/chains";

// 2. Set up client
const publicClient = createPublicClient({
  chain: mainnet,
  transport: http(),
});

// 3. consume an action
const block = await publicClient.getBlock();

Docs

Head to the documentation to read and learn more about cive.

Licenses

This project is licensed under the MIT License.

This project also partially contains code derived or copied from the following projects:

Readme

Keywords

Package Sidebar

Install

npm i cive

Homepage

cive.zyx.ee

Weekly Downloads

6,151

Version

0.8.1

License

MIT

Unpacked Size

5.15 MB

Total Files

2260

Last publish

Collaborators

  • iosh