yarn add @arkecosystem/client
If you want to use the CDN version:
<script src="https://unpkg.com/@arkecosystem/client/dist/index.umd.js"></script>
Import the library in Node.js:
import ArkEcosystemClient from @arkecosystem/client
or
const ArkEcosystemClient require('@arkecosystem/client')
Use the library:
const client = new ArkEcosystemClient('<your host here>')
There are more examples in the examples
folder.
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.