@jovijovi/ether-core
TypeScript icon, indicating that this package has built-in type declarations

0.5.4 • Public • Published

Ether Core

npm GitHub Actions Coverage

Out-of-the-box core APIs for Ethereum ecosystem.

Philosophy

💋 KISS. Keep it small and simple.

Features

  • Out-of-the-box Ethereum APIs

Development Environment

  • typescript 4.8.4
  • node v16.18.0
  • ts-node v10.9.1
  • yarn v1.22.19

Install

npm install @jovijovi/ether-core

or

yarn add @jovijovi/ether-core

Usage

import {core} from '@jovijovi/ether-core';

const walletInfo = await core.NewWallet();
const wallet = core.GetWallet(walletInfo.pk);
const receipt = await core.Transfer(YOUR_WALLET_ADDRESS, wallet.address, '1', wallet.privateKey);
if (receipt.status !== core.params.StatusSuccessful) {
	log.RequestId().error("Transfer failed, error=%o", receipt);
	return;
}

Roadmap

  • Documents

License

MIT

Package Sidebar

Install

npm i @jovijovi/ether-core

Weekly Downloads

19

Version

0.5.4

License

MIT

Unpacked Size

33.1 kB

Total Files

18

Last publish

Collaborators

  • jovijovi