/typescript-client

A simple TypeScript API client for the ARK Blockchain.

Primary LanguageTypeScriptMIT LicenseMIT

ARK - TypeScript Client

Lead Maintainer: Brian Faust

Installation

yarn add @arkecosystem/client

Usage

import { Connection } from "@arkecosystem/client";

const init = async () => {
	const connection: Connection = new Connection("https://dexplorer.ark.io/api/v2");

	console.log(await connection.api("blocks").all())
};

init();

See tests for more examples.

Security

If you discover a security vulnerability within this package, please send an e-mail to security@ark.io. All security vulnerabilities will be promptly addressed.

Credits

This project exists thanks to all the people who contribute.

License

MIT © ARK Ecosystem