@chipi-stack/backend
v14.4.0
Published
Server SDK for gasless Starknet wallets — wallet provisioning, payments, SKU purchases, and crypto remittances
Readme
@chipi-stack/backend
Server-side SDK for Chipi Pay. Handles wallet creation, transactions, SKU purchases, and exchanges.
Install
npm install @chipi-stack/backendQuick Start
import { ChipiSDK } from "@chipi-stack/backend";
const sdk = new ChipiSDK({
apiPublicKey: process.env.CHIPI_API_PUBLIC_KEY!,
apiSecretKey: process.env.CHIPI_API_SECRET_KEY!,
});
const bearerToken = "your-bearer-token"; // From your auth provider (e.g., Clerk)
// Create a wallet
const wallet = await sdk.createWallet({
params: {
externalUserId: "user-123",
chain: "STARKNET",
encryptKey: "user-pin-or-passkey",
},
bearerToken,
});
// Transfer USDC
const tx = await sdk.transfer({
params: {
wallet: wallet.wallet,
token: "USDC",
recipient: "0x...",
amount: 10,
encryptKey: "user-pin-or-passkey",
},
bearerToken,
});What you can ship
- Wallet-as-a-service APIs — provision and manage wallets for your users from your backend
- SKU marketplace (airtime, bill pay, gift cards) — integrate real-world purchases with crypto rails
- Crypto remittance backends — build cross-border payment services with stablecoin settlement
- Gasless payment processing for fintechs — accept and send USDC without your users paying gas
Have an idea? Tell us what you want to build
Documentation
Full docs at docs.chipipay.com
License
MIT
