
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
xnogate is a Node.js library for processing NANO ($XNO) cryptocurrency payments in your application, providing a reliable and secure way to receive and validate payments. Ideal for e-commerce websites, online marketplaces, and other applications. Start ac
xnogate is a safe, reliable payment gateway library for the NANO (XNO) cryptocurrency.
To install xnogate, run the following command:
npm i xnogate
WARNING: do not use any of the keys or addresses listed below to send real assets!
To use the payment gateway module, import it as follows:
const { payments } = require("xnogate")
To create a new payment, call the payments.create(config, amount) method, passing in a configuration object and the desired amount in NANO. The configuration object should contain the following properties:
seed: a 64-character string representing the seed to be used to generate the private key for the wallet. If not provided, a random seed will be generated.index: index of the wallet to use. If not provided, 0 will be used.destination: the address of the account to which the payment will be made.timeout: the timeout for the payment, in seconds.Example:
const config = {
seed: "6e78325f7061796d656e745f676174657761795f746573745f786e6f67617465",
index: 0,
destination: "nano_3ujqppynxfakp59i99o75qkwi1dm6btox9gndegbnuyxpc53sw7ikmb1zp8z",
timeout: 30 // 30 seconds
};
const amount = 0.5; // 0.5 NANO
const interval = payments.create(config, amount);
To start a payment, call the payments.start(interval, onSuccess, onTimeout) method, passing in the interval object returned from payments.create, as well as the onSuccess and onTimeout callbacks. o variable in the callback is the interval itself, you can retrieve or store some data there
Example:
payments.start(interval,
(o) => { console.log("Payment successful"); },
(o) => { console.log("Payment timed out"); }
);
Alternatively:
interval.start(
(o) => { console.log("Payment successful"); },
(o) => { console.log("Payment timed out"); }
);
If you find this module useful and would like to support its development, please consider making a donation to the following Nano address:
nano_3ujqppynxfakp59i99o75qkwi1dm6btox9gndegbnuyxpc53sw7ikmb1zp8z
Your contribution is greatly appreciated and will help ensure the continued maintenance and improvement of this project, and some extra motivation. Thank you for your support!
FAQs
xnogate is a Node.js library for processing NANO ($XNO) cryptocurrency payments in your application, providing a reliable and secure way to receive and validate payments. Ideal for e-commerce websites, online marketplaces, and other applications. Start ac
We found that xnogate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.