Replacing 7-30 day correspondent banking settlement with stablecoin infrastructure that settles in seconds: live on XRPL Testnet and Solana Devnet.
The global cross-border parcel business still runs on outdated financial rails. Settlements pass through multiple correspondent banks; triggering: fees, delays, trapped liquidity, currency risk.
| Pain Point | Current Reality |
|---|---|
| Settlement time | 7 to 30 days |
| Correspondent banks | 2 to 3 hops |
| Transaction cost | 5 to 7% of value |
| Visibility | None until funds arrive |
| Working capital | Trapped in receivables |
| Reconciliation | Manual, error-prone |
Postal operators in developing markets bear the highest cost and have uneven access to correspondant banks.
AtomicPost is a stablecoin treasury infrastructure that replaces correspondent banking for cross-border postal settlement. It sits at the settlement layer. Same clearing logic: net positions, issue coins, execute. Final, in seconds. Weβre building atomic settlement rails. No correspondent banks. No trapped cash. No FX exposure. This paves the way for programmable value-sharing.
βββββββββββββββββββββββββββββββββββββββββββββββ
β TRADITIONAL SETTLEMENT β
β β
β Operator A β Bank β Correspondent β
β β Bank β Operator B β
β β
β Time: 7-30 days β Cost: 5-7% β
β Hops: 2-3 banks β Visibility: None β
βββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββ
β POSTAL SETTLE β
β β
β Treasury confirms USD backing β
β β β
β Mint USD-ST stablecoin β
β β β
β Operator A β XRPL/Solana β Operator B β
β β β
β Burn tokens, release USD β
β β
β Time: 3-5 sec β Cost: <0.01% β
β Hops: 0 banks β Visibility: Full β
βββββββββββββββββββββββββββββββββββββββββββββββ
These are real transactions executed during development, publicly verifiable on Solana Devnet demonstrating the settlement protocol for Posts.
| Step | Transaction | Explorer |
|---|---|---|
| 1 | USD-ST Issuance: treasury mints stablecoin | View on Solana |
| 2 | Cross-Border Settlement: operator payment | View on Solana |
| 3 | Token Redemption: burn and release | View on Solana |
All three transactions demonstrate the complete stablecoin lifecycle: mint fiat-backed tokens on demand, execute cross-border settlement, burn tokens to release USD backing.
Complete 7-screen treasury application with real transactions including issuance, settlement, partial settlement with carry-forward, reconciliation and burn.
Steps to run app.py and walk through all seven screens. Reference DEMO.md for the complete walkthrough guide.
- Manual USD backing confirmation per cycle
- Single-action issuance authorization
- Real-time reserve utilization monitoring
- Hard cap enforcement on issuance
- Full and partial settlement execution
- Automatic carry-forward for partial obligations
- Inbound and outbound settlement tracking
- Settlement comparison: traditional vs blockchain
- XRPL Testnet: native issued currency
- Solana Devnet: SPL token program
- Chain-agnostic architecture
- Real transaction verification
- Automated reconciliation engine
- Exception detection and management
- Full audit trail with timestamps
- CSV export for regulatory review
Cross-Border stablecoin treasury
| Requirement | AtomicPost |
|---|---|
| Mint fiat-backed stablecoins on demand | β USD-ST issuance against confirmed USD |
| Redeem stablecoins | β Burn flow with USD release |
| Move money across borders instantly | β 3-5 second settlement on XRPL/Solana |
| Automate treasury operations | β 7-screen dashboard with full lifecycle |
| Fewer intermediaries | β Zero correspondent banks |
| Audit and compliance | β Immutable on-chain audit trail |
CSV Parcel Data
β
Off-Ledger Clearing Engine
β
Treasury Dashboard (Flask)
β
βββββββββββββββ¬βββββββββββββββ
β XRPL Layer β Solana Layer β
β xrpl-py β solana-py β
β Issued curr β SPL Token β
βββββββββββββββ΄βββββββββββββββ
β
Reconciliation Engine
β
Audit Log + CSV Export
| Screen | EPIC | Function |
|---|---|---|
| Dashboard | EPIC 0 | Overview and quick actions |
| Clearing Setup | EPIC 0 | Net obligation entry |
| Reserve Governance | EPIC 1 | USD backing and authorization |
| Issuance | EPIC 2 | Mint and burn USD-ST |
| Settlement | EPIC 3+4 | Execute XRPL payments |
| Reconciliation | EPIC 5 | Auto-match transactions |
| Audit Log | EPIC 6 | Trail and CSV export |
- Python 3.9 or higher
- Git
git clone https://github.com/jcfinidori/AtomicPost.git
cd AtomicPost
pip install -r requirements.txt
cp accounts_template.json accounts.jsonXRPL testnet wallets and Solana Wallets installed.
python3 reset_demo.py
python3 app.pypython3 solana_service.pyapostal_poc/
βββ app.py # Flask application
βββ database.py # SQLite data layer
βββ xrpl_service.py # XRPL integration
βββ solana_service.py # Solana integration
βββ reset_demo.py # Demo reset script
βββ requirements.txt # Dependencies
βββ accounts_template.json # Wallet template
βββ templates/ # Seven HTML screens
β βββ base.html
β βββ dashboard.html
β βββ clearing.html
β βββ reserve.html
β βββ issuance.html
β βββ settlement.html
β βββ reconciliation.html
β βββ audit.html
βββ sample_data/ # Sample CSV files
Phase 1 β Current PoC
- Complete treasury dashboard on testnet
- Real blockchain transactions verified
- Solana devnet integration
Phase 2 β CSV integration
- Automated clearing from parcel CSV data
- Multi-operator netting engine
Phase 3 β Operator Pilot
- Real designated operator participation
- Middle East / Africa corridor
Phase 4 β Mainnet
- Real USDC on XRPL and Solana mainnet
- Production treasury controls
Phase 5 β Multi-chain
- Liquidity pooling across chains
- Automated FX conversion
I witness operators struggling with legacy banking infra, high inflation, currency instability. And now the global system itself is shifting; causing fragmentation.
Built for settlement corridors in complement of the Universal Postal Union (UPU) designated operator clearing rules.
Target corridors: Middle East to Africa; Asia/Pacific; Europe to Africa Operators: Designated postal operators
This PoC demonstrates that postal operators can settle cross-border obligations without correspondent banking infrastructure; making financial settlement accessible to operators in developing markets.
MIT License β see LICENSE file