Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

@dfinity/cketh

Package Overview
Dependencies
Maintainers
9
Versions
384
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dfinity/cketh

A library for interfacing with ckETH.

latest
Source
npmnpm
Version
7.1.0
Version published
Weekly downloads
205
-78.62%
Maintainers
9
Weekly downloads
 
Created
Source

cketh-js

A library for interfacing with ckETH on the Internet Computer.

npm version GitHub license

[!TIP] Still using @dfinity/cketh? Upgrade to @icp-sdk/canisters/cketh!

Table of contents

Installation

You can use cketh-js by installing it in your project.

npm i @dfinity/cketh

The bundle needs peer dependencies, be sure that following resources are available in your project as well.

npm i @icp-sdk/core @dfinity/utils

Usage

The features are available through the class CkEthMinterCanister. It has to be instantiated with a canister ID.

import { CkEthMinterCanister } from "@dfinity/cketh";
import { createAgent } from "@dfinity/utils";

const agent = await createAgent({
  identity,
  host: HOST,
});

const { getSmartContractAddress } = CkEthMinterCanister.create({
  agent,
  canisterId: MY_CKETH_MINTER_CANISTER_ID,
});

const address = await getSmartContractAddress({});

Documentation

You can find the API docs here.

Resources

Keywords

internet computer

FAQs

Package last updated on 19 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts