@arkecosystem/client

A simple TypeScript API client for the Ark Blockchain.

Usage no npm install needed!

<script type="module">
  import arkecosystemClient from 'https://cdn.skypack.dev/@arkecosystem/client';
</script>

README

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