/ether-core

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

Primary LanguageTypeScriptMIT LicenseMIT

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