
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
crypttp-acq
Advanced tools
npm i -s crypttp-acq
Signup at dashboard https://crypttp.com/dashboard
And copy merchant id
Add crypttp
module to your project
const Crypttp = require('crypttp-acq')
const crypttp = new Crypttp()
With ES6
import Crypttp from 'crypttp-acq';
const crypttp = new Crypttp()
in Browser
<script src="https://crypttp.com/sdk/js/index-acq.min.js"></script>
/**
* @param {string} merchant_id id which you can find at console.crypttp.com
* @param {string} to address of wallet where transfer should be sent to
* @param {string} country_currency only fiat currency
* @param {string} currency object with details of transaction
* @param {string} amount amount to charge in local currency numeration
* @param {string} payload any extra data that you want to send with cryptocurrency transaction
* @param {string} memo a special tag for specific blockchains
* @param {string} onsuccess url where to redirect user after checkout complete (can be deeplink)
* @param {string} onerror url where to redirect user if checkout failed (can be deeplink)
*/
const data = {
merchant_id: 'example_id',
to: 'btcaddress1234',
currency: 'BTC',
country_currency: 'USD',
amount: '100', // note that amount will be passed in USD
onsuccess: 'https://example.com/order_paid', // you also can parse deeplink here
onerror: 'https://example.com/order_failed' // you also can parse deeplink here
}
crypttp.pay(data)
Crypttp will convert automatically convert 100 USD to cryptos
All transaction detailes will be shared with wallets
When transaction will be successfully made wallet will route back user to the onsuccess
or onerror
link
If you will use api on the server side it will return string (URL).
Redirect user to that URL or set it as href
attribute to redirect user on click.
FAQs
Module to call APIs of crypttp
The npm package crypttp-acq receives a total of 13 weekly downloads. As such, crypttp-acq popularity was classified as not popular.
We found that crypttp-acq 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.