0.8.1 • Published 7 months ago

cive v0.8.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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:

0.8.1

7 months ago

0.8.0

8 months ago

0.7.1

8 months ago

0.7.0

9 months ago

0.6.0

9 months ago

0.5.0

10 months ago

0.4.1

10 months ago

0.4.0

10 months ago

0.3.1

11 months ago

0.3.0

11 months ago

0.2.0

11 months ago

0.1.0

11 months ago

0.0.3

12 months ago

0.0.4

12 months ago

0.0.2

12 months ago

0.0.1

1 year ago