Blockchain Layer
Solana mainnet-beta
Helius RPC + fallback
USDC SPL
Simple SPL transfers for escrow and payouts
Optional Anchor program later for advanced logic
Solana Integration:
Network: Mainnet-beta, Devnet
RPC: Uses public Solana RPCs
Libraries: solana-py, solders
Supported Tokens:
TOKENS = {
"SOL": {
"type": "native",
"decimals": 9
},
"USDC": {
"type": "spl-token",
"address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"decimals": 6
},
"USDT": {
"type": "spl-token",
"address": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
"decimals": 6
}
}Transaction Flow:
# Facilitator creates unsigned transaction
from solana.transaction import Transaction
from solders.keypair import Keypair
# Build transaction
tx = Transaction()
tx.add(transfer_instruction)
# User signs (on client)
user_signature = user_wallet.sign(tx)
# Facilitator signs and submits
facilitator_keypair = Keypair.from_base58_string(PRIVATE_KEY)
tx.sign_partial([facilitator_keypair])
signature = await client.send_transaction(tx)Network Fees:
SOL transfer: 0.000005 SOL ($0.0005)
SPL token transfer: 0.00001 SOL ($0.001)
Facilitator pays ALL fees
Last updated