pointer-wallet
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Pointer Wallet Node.js Library

Installing

npm install pointer-wallet
# or
yarn add pointer-wallet

Documentation

Usage

[!NOTE] The package needs a secret key to configure, which you can get at Pointer Wallet Dashboard

import {Pointer} from 'pointer-wallet'
const pointer = new Pointer(process.env.POINTER_SECRET_KEY) 
const response = await pointer.createPayment({
    amount:5000
})
console.log(response)

or Javascript

const {Pointer} = require('pointer-wallet')
const pointer = new Pointer(process.env.POINTER_SECRET_KEY)
const response = await pointer.createPayment({
    amount:5000
})
console.log(response)

Package Sidebar

Install

npm i pointer-wallet

Weekly Downloads

218

Version

1.0.3

License

ISC

Unpacked Size

3.54 kB

Total Files

4

Last publish

Collaborators

  • nguynthuhigh