Trustless Compliance
PayWithZ is the first platform where compliance is enforced by blockchain code, not promises. This means regulators can verify compliance without trusting any third party.How It Works
Transfer Hook Technology
Solana’s Token-2022 program includes a transfer hook extension. This allows custom programs to run automatically on every transfer.Compliance Checks
Every transfer automatically checks:1. SBT Verification
1. SBT Verification
Sender SBT Check
- Does sender have a valid SBT?
- Is SBT not expired?
- Is SBT not revoked?
- Does receiver have a valid SBT?
- Is SBT not expired?
- Is SBT not revoked?
2. Blacklist Check
2. Blacklist Check
- Is sender on blacklist? (checked via Merkle tree)
- Is receiver on blacklist? (checked via Merkle tree)
- Efficient on-chain storage using Merkle proofs
3. Velocity Limits
3. Velocity Limits
- Transaction amount within limits?
- Frequency within limits?
- Custom rules per wallet or jurisdiction
4. Risk Rules
4. Risk Rules
- Passes all risk checks?
- No suspicious patterns?
- Custom policy enforcement
On-Chain Enforcement
Merkle Tree Efficiency
PayWithZ uses Merkle trees for efficient on-chain storage:Allow List
Merkle tree of approved wallets. Efficient storage.
Blacklist
Merkle tree of blocked wallets. Fast lookups.
- ✅ Minimal on-chain storage
- ✅ Fast verification
- ✅ Easy updates
- ✅ Cost efficient
Compliance Transparency
For Users
- Clear error messages when transfers are blocked
- Reason codes for compliance failures
- Transaction status visible in dashboard
For Regulators
- All transactions visible on-chain
- Complete audit trails
- Real-time monitoring capabilities
- Automated reporting
For Admins
- Dashboard with compliance metrics
- Blocked transaction analysis
- Policy configuration
- Real-time alerts
Compliance Features
Automatic
No manual approval needed. Runs automatically.
Real-Time
Checks happen in milliseconds during transfer.
Transparent
All checks visible on-chain. Fully auditable.
Updatable
Policies can be updated without redeploying.
Why This Matters
Traditional Approach
- Compliance relies on promises
- Requires trust in third parties
- Difficult for regulators to verify
- Can be bypassed
PayWithZ Approach
- Compliance enforced by code
- No trust required
- Regulators can verify on-chain
- Cannot be bypassed