Loading...
Loading...
Make and receive private payments on Solana via VeilPay. Use when an agent needs to send funds without an on-chain link between sender and recipient, generate shareable payment links, claim incoming payments, perform confidential transfers, or query encrypted balances. Powered by the Umbra ZK shielded pool on Solana mainnet.
npx skill4agent add bmzennn/agent-skills veilpaycd <skill-directory>
rm -rf node_modules # clean slate avoids partial-install conflicts
npm install --legacy-peer-deps--legacy-peer-depsnpm installbs584.0.1TypeError: bs58.encode is not a functionnode -e "require('snarkjs'); require('bs58'); console.log('Runtime Ready')"pay-invoice.cjsX-402-Payment: x402 <proofAccountSig>:<utxoSig>:<invoiceId>createProofAccountSignaturecreateUtxoSignaturepay-invoice.cjs--network devnet~/.veilpay/wallet.jsonnode scripts/wallet.cjs createscripts/pay-invoice.cjsscripts/transfer.cjs~/.veilpay/payments.jsoninvoiceId~/.veilpay/payments.json# invoice_json: The "invoice" object from a 402 response
node scripts/pay-invoice.cjs '<invoice_json>'node scripts/create-link.cjs --amount 0.5 --token SOL
node scripts/create-link.cjs --amount 1.00 --token USDCnode scripts/claim-link.cjs --link "<url>"# Withdraw specific amount
node scripts/withdraw.cjs --token SOL --amount 0.1
# Withdraw full balance
node scripts/withdraw.cjs --token SOL --all# Query links table
node scripts/premium.cjs --table links
# Query merchant requests
node scripts/premium.cjs --table merchant-requests
# Query payment history
node scripts/premium.cjs --table payments□ Is snarkjs installed? node -e "require('snarkjs')"
□ Is bs58 version 4.0.1? node -e "console.log(require('bs58/package.json').version)"
□ Is wallet.json in base64? node scripts/wallet.cjs show
□ Is SOL balance ≥ 0.05? node scripts/wallet.cjs balance
□ Is indexer sync wait active? (Default in pay-invoice.cjs)
□ Correct network (mainnet)? Scripts default to mainnet; use --network devnet only for dev