
Research
/Security News
737 Chrome VPN Extensions Linked to Brand Impersonation and Browser Traffic Redirection
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.
English | 한국어
Core SDK for Crypax — crypto payment gateway for any EVM chain.
Provides a payment modal with built-in wallet connection (MetaMask, Pexus, etc.) using the Stripe PaymentIntent pattern.
npm install @crypax/js
import { Crypax } from '@crypax/js'
const crypax = new Crypax('pk_live_xxxxx')
// clientSecret comes from your server via @crypax/node
const result = await crypax.confirmPayment(clientSecret)
if (result.status === 'confirmed') {
console.log('Paid!', result.txHash)
} else if (result.status === 'cancelled') {
console.log('User cancelled')
}
new Crypax(publishableKey, config?)| Option | Type | Default | Description |
|---|---|---|---|
apiUrl | string | https://api.crypax.io | Crypax API endpoint |
theme | 'light' | 'dark' | 'auto' | 'auto' | Modal theme |
locale | 'ko' | 'en' | 'ko' | Modal language |
chainId | number | 41956 | Target chain ID |
rpcUrl | string | Plumise Mainnet | RPC endpoint |
chainName | string | 'Plumise Mainnet' | Chain display name |
explorerUrl | string | Plumise Explorer | Block explorer URL |
nativeCurrency | object | { name: 'PLM', symbol: 'PLM', decimals: 18 } | Native currency info |
crypax.confirmPayment(clientSecret): Promise<PaymentResult>Opens the payment modal, connects wallet, sends TX, and polls until confirmed.
interface PaymentResult {
status: 'confirmed' | 'cancelled' | 'expired' | 'failed'
paymentId?: string
txHash?: string
blockNumber?: number
error?: string
}
crypax.getWallet(): Promise<WalletInfo>Detects connected wallet without triggering connection.
crypax.on(event, callback): () => voidSubscribe to events. Returns an unsubscribe function.
Events: status_change, wallet_detected, tx_submitted, tx_confirmed, error
crypax.destroy()Clean up modal and event listeners.
idle → loading → ready → connecting → switching_chain → awaiting_approval → submitted → confirmed
→ failed
→ cancelled
→ expired
MIT
FAQs
Crypax payment SDK for browsers
The npm package @crypax/js receives a total of 21 weekly downloads. As such, @crypax/js popularity was classified as not popular.
We found that @crypax/js demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.