Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (payment-getway-library) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Payment Gateway Library
A Node.js library for interacting with a payment gateway using a WebSocket API.
Installation
## Usage
```javascript
const PolkadotWrapper = require('polkadot-wrapper');
const endpoint = 'wss://rpc.polkadot.io';
const polkadot = new PolkadotWrapper(endpoint);
(async () => {
await polkadot.connect();
const latestBlock = await polkadot.getLatestBlock();
console.log('Latest block:', latestBlock);
const newAccount = polkadot.createAccount();
console.log('New account:', newAccount);
})();