In the rapidly evolving world of Web3, developers face a persistent headache: fragmentation. If you want to accept Bitcoin, you need one library. For Ethereum, another. For Solana, yet another. Managing multiple chains, tracking different token decimals, and monitoring transaction confirmations usually results in a bloated, unmaintainable codebase.
Enter payx3βa powerful, lightweight Multi-Chain Crypto Payment SDK designed to let you generate wallets and watch for incoming payments across almost any major chain with a single function call.
π Why payx3?
The goal of payx3 is simple: Reduce the complexity of crypto integrations to zero. Whether you are building an e-commerce checkout, a donation platform, or a decentralized app, payx3 handles the heavy lifting of blockchain monitoring so you can focus on your product.
Key Features:
- Universal Wallet Generation: Generate a single 12-word mnemonic and derive addresses for Bitcoin (Legacy, SegWit, Native SegWit), Solana, and all EVM chains (ETH, BNB, Polygon, etc.).
- "Watch Everything" Mode: A single function to monitor BTC, ETH, SOL, and dozens of ERC-20 tokens simultaneously.
- Decimal Perfection: No more math errors. payx3 automatically handles decimal conversions (like the 6-decimal USDT on Ethereum vs. 18-decimal on BNB Chain).
-
Real-time Callbacks: Get instant notifications when a payment is detected (
onPayment) and when it is finalized on the block (onConfirmed). - REST API Ready: It comes with a built-in Express.js server example, allowing you to run your own payment gateway in minutes.
π Quick Start
Getting started is as easy as installing the package:
npm install payx3
One Wallet, All the Chains
You don't need separate setups for different assets. Generate a master key and get all your addresses at once:
const { generateMnemonic, deriveAll } = require("payx3");
const mnemonic = generateMnemonic(128);
const wallet = await deriveAll(mnemonic);
console.log("BTC Address:", wallet.bitcoin[2].address); // Native SegWit
console.log("EVM Address:", wallet.evm.address); // ETH, BNB, Polygon, etc.
console.log("SOL Address:", wallet.solana.address);
Monitoring Payments
Forget complex WebSockets or polling logic. Use watchAll to monitor every asset you care about across every supported chain in one go:
const { watchAll } = require("payx3");
watchAll({
btcAddress: "bc1q...",
evmAddress: "0x...",
solAddress: "Azj...",
infuraKey: "YOUR_INFURA_KEY",
onPayment: (payment) => {
console.log(`πΈ Received ${payment.amount} ${payment.symbol} on ${payment.chain}!`);
}
});
π¦ Supported Assets
Payx3 v2.0.0 supports a massive range of assets out of the box:
- Native: BTC, ETH, BNB, MATIC, AVAX, SOL.
- Layer 2s: Arbitrum (ARB), Optimism (OP).
- Stablecoins: USDT, USDC, DAI.
- DeFi & More: WBTC, LINK, UNI, AAVE, SHIB.
- Custom Tokens: Watch any ERC-20 token by simply providing its contract address.
π Security First
We know that in crypto, security is everything.
- Read-Only Monitoring: The "watch" functions only require public addresses. You never need to expose your private keys to a live server to track payments.
- Stateless: payx3 doesn't store your data. You control your mnemonic and your infrastructure.
πΌ Open to Work
The creator of payx3, Susheel, is a blockchain enthusiast and developer currently open to new opportunities. If youβre looking for a freelancer or a full-time expert in Web3, Node.js, or Full-stack development, feel free to reach out!
- Email: susheelhbti@gmail.com
- NPM: payx3 on npm
Conclusion
Stop fighting with multiple libraries and inconsistent APIs. Whether you're a seasoned Web3 dev or just starting, payx3 provides the streamlined workflow you've been looking for.
Ready to build? Check out the (https://www.npmjs.com/package/payx3) and start accepting payments today!
Top comments (0)