pointer-wallet
v1.0.3
Published
Node package pointer wallet
Downloads
218
Maintainers
Readme
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)