
Product
Socket for ClickUp Is Now Available
Create ClickUp tasks from Socket alerts, automate ticketing with custom rules, and keep alert and task status synchronized.
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
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.

Product
Create ClickUp tasks from Socket alerts, automate ticketing with custom rules, and keep alert and task status synchronized.

Product
Create and manage Asana tasks directly from Socket alerts, with manual task creation, automated ticketing rules, and two-way sync.

Security News
Open VSX has removed three extension IDs from its malicious-extension list as the legitimate publishers they impersonated move to claim the names for themselves.