UNPKG

899 BMarkdownView Raw
1# ARK - TypeScript Client
2
3<p align="center">
4 <img src="./banner.png" />
5</p>
6
7> Lead Maintainer: [Brian Faust](https://github.com/faustbrian)
8
9## Installation
10
11```bash
12yarn add @arkecosystem/client
13```
14
15## Usage
16
17```ts
18import { Connection } from "@arkecosystem/client";
19
20const init = async () => {
21 const connection: Connection = new Connection("https://dwallets.ark.io/api");
22
23 console.log(await connection.api("blocks").all())
24};
25
26init();
27```
28
29See [tests](https://github.com/ArkEcosystem/javascript-client/tree/master/__tests__/resources) for more examples.
30
31## Security
32
33If you discover a security vulnerability within this package, please send an e-mail to security@ark.io. All security vulnerabilities will be promptly addressed.
34
35## Credits
36
37This project exists thanks to all the people who [contribute](../../contributors).
38
39## License
40
41[MIT](LICENSE) © [ARK Ecosystem](https://ark.io)