[MOVED] → github.com/cascade-protocol/splits | Non-custodial payment splitting protocol for Solana
cascadepay is an early-stage TypeScript project in the AI payments / x402 ecosystem, focused on anchor, deprecated, payment-splitting, payments. It currently has 2 GitHub stars and 0 forks, and sits alongside related tools like ClawPay, pay-kit, mpp-sdk, covenant, sati, tdm-integration-kit.
[!IMPORTANT]
🚀 This project has moved!
Active development continues at cascade-protocol/splits
This repository is kept for historical reference. Please visit the new repo for the latest code, SDK, and documentation.
One payment in. Multiple recipients out. Automatically.
A non-custodial payment splitter for Solana that distributes incoming payments to multiple recipients based on pre-configured percentages.
graph LR
A[100 USDC<br/>Payment] --> B[CascadePay<br/>Vault]
B --> C[Platform<br/>9 USDC]
B --> D[Merchant<br/>90 USDC]
B --> E[Protocol<br/>1 USDC]
Program ID: Bi1y2G3hteJwbeQk7QAW9Uk7Qq2h9bPbDYhPCKSuE2W2
Protocol Fee Wallet: 2zMEvEkyQKTRjiGkwYPXjPsJUp8eR1rVjoYQ7PzVVZnP
Network: Solana Mainnet-Beta Framework: Anchor 0.32.1
npm install @cascadepay/sdk @coral-xyz/anchor
import { createCascadepayClient } from "@cascadepay/sdk";
import * as anchor from "@coral-xyz/anchor";
// Initialize client
const connection = new anchor.web3.Connection("https://api.mainnet-beta.solana.com");
const wallet = new anchor.Wallet(yourKeypair);
const idl = require("@cascadepay/sdk/idl/cascadepay.json");
const sdk = await createCascadepayClient(connection, wallet, idl);
// Create split configuration (recipients must total 99%)
const recipients = [
{ address: platformWallet, percentageBps: 900 }, // 9%
{ address: merchantWallet, percentageBps: 9000 }, // 90%
];
const configPDA = await sdk.createSplitConfig({
mint: USDC_MINT,
recipients,
});
// Get vault address
const config = await sdk.getSplitConfig(configPDA);
console.log("Share this payment address:", config.vault.toString());
// Execute distribution (permissionless)
await sdk.executeSplit(configPDA);
Atomic transaction bundling for seamless UX:
import { detectSplitVault } from "@cascadepay/sdk";
// Detect if destination is a CascadePay vault
const result = await detectSplitVault(
paymentDestination,
connection,
new anchor.web3.PublicKey("Bi1y2G3hteJwbeQk7QAW9Uk7Qq2h9bPbDYhPCKSuE2W2")
);
if (result.isSplitVault) {
// Bundle payment + distribution atomically
const transferIx = createTransferInstruction(
userTokenAccount,
result.splitConfig.vault,
user.publicKey,
amount
);
const splitIx = await sdk.buildExecuteSplitInstruction(result.splitConfig);
const tx = new anchor.web3.Transaction()
.add(transferIx)
.add(splitIx);
await sendAndConfirm(tx);
}
| Instruction | Description | Authority Required |
|---|---|---|
create_split_config |
Initialize vault and split configuration | Creator |
execute_split |
Distribute vault balance to recipients | None (permissionless) |
update_split_config |
Update recipients (requires empty vault) | Creator |
claim_unclaimed |
Claim held funds | Recipient |
SplitConfig PDA:
["split_config", authority, mint]Vault:
execute_split()# Install Rust & Solana
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
# Install Anchor
cargo install --git https://github.com/coral-xyz/anchor avm --locked --force
avm install 0.32.1
avm use 0.32.1
git clone https://github.com/tenequm/cascadepay
cd cascadepay
pnpm install
anchor build
anchor test
⚠️ This program is unaudited. Use at your own risk.
Security features:
MIT
x402 Solana Hackathon - Payment infrastructure for the next generation of Solana applications.
Trustless escrow protocol for AI agent payments on Solana. Temporal proof-of-work, cryptographic receipts, and arbitration pools.
Building blocks for Agentic payments (x402, MPP, AP2) for TypeScript, Rust, Go, Python, Ruby, PHP, Lua, Kotlin and Swift.
Building blocks for Agentic payments (x402, MPP, AP2) for TypeScript, Rust, Go, Python, Ruby, PHP, Lua, Kotlin and Swift.
The payment rail AI agents use to get paid without human approval. Optimistic settlement on @solana. Jobs auto-finalize after a challenge period, disputed jobs escalate to a bonded arbitrator. One protocol, any agent.
Trust infrastructure for million-agent economies on Solana - identity, reputation, and validation designed for continuous feedback at scale.
Developer integration tools for adding TDM payments to AI agents, apps, and workflows. CLI, MCP server, and copy-paste examples
Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.
DePIN for Vintage Hardware — Proof-of-Antiquity blockchain where old machines outmine new ones. AI-powered hardware fingerprinting, 15+ CPU architectures, Solana bridge (wRTC). $0 VC.
Drop-in OpenAI Python client with transparent x402 payment support.
Client SDK for the Vybe x402 API. Pay-per-call USDC over HTTP and prepaid-credit WebSocket streaming for Vybe's Solana analytics API. Built for AI agents.
Drop-in OpenAI Typescript client with transparent x402 payment support.
Autonomous AI BD Agent for SolCex Exchange: 24/7 Cross-Chain Token Scoring & Payments 2026