0.1.23 • Published 5 years ago
@phantomchain/client v0.1.23
Phantom - Client
Installation
Node.js
yarn add @phantomchain/client
If you want to use the CDN version:
<script src="https://unpkg.com/@phantomchain/client/dist/bundle.umd.js"></script>
Usage
Import the library in Node.js:
import PhantomChainClient from @phantomchain/client
or
const PhantomChainClient require('@phantomchain/client')
Use the library:
const client = new PhantomChainClient('<your host here>')
Examples
There are more examples in the examples
folder.
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.