VinuPay.js is a JavaScript library for VinuPay.
Use the package manager npm to install VinuPay.js.
npm install vinupay.js
import VinuPay from 'vinupay.js/offchain.js'
// Or the main version
// import VinuPay from 'vinupay.js'
// Create the instance
const Client = new VinuPay("https://node-vite.imal.dev");
// Check how many merchants were created.
Client.getRegisteredNamesCount().then((res) => {
console.log(`A total of ${res} merchants were created.`);
});
const VinuPay = require("vinupay.js/offchain.js").default;
// Or the main version
// const VinuPay = require("vinupay.js").default;
// Create the instance
const Client = new VinuPay("https://node-vite.imal.dev");
// Check how many merchants were created.
Client.getRegisteredNamesCount().then((res) => {
console.log(`A total of ${res} merchants were created.`);
});
- Soon
Pull requests are welcome on our GitHub. For major changes, please open an issue first to discuss what you would like to change.
Documentation for both VinuPay and VinuPay.js can be found here.
VinuPay.js is created by iMalFect
VinuPay.js is licensed under GNU GPLv3