Skip to content

A simple TypeScript API client for the ARK Blockchain.

License

Notifications You must be signed in to change notification settings

ArkEcosystem/typescript-client

Repository files navigation

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://dwallets.ark.io/api");

	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