Deployed smart contract address on Solana Devnet
FhJJuYrCmDaKEFcdzUPFJYM7DPFvStgm8HdBt3bsf8fzmqHoDFMU2o8ADcopSemfyfcU3NQs8aY7Uo4MWMqyKXYXAsRDhaxRgxSL6xwxjegSvpYbJn9qfCTk8krFyQWVabSFunds are locked in escrow until buyer confirms delivery
Platform fees automatically calculated and distributed
Only buyers can release payments to sellers
initialize_marketplace()Initialize marketplace configuration with authority, treasury wallet, and fee structure
create_escrow(price)Buyer creates escrow and locks funds (price + buyer fee) in PDA
confirm_by_buyer()Buyer confirms order and releases payment: seller receives (price - seller_fee), treasury receives (seller_fee + buyer_fee)
Deducted from payment to seller
Added to buyer's payment amount