Smart Contract

    Assetify Escrow Protocol on Solana

    DevnetVerifiedOpen Source

    Program Address

    Deployed smart contract address on Solana Devnet

    FhJJuYrCmDaKEFcdzUPFJYM7DPFvStgm8HdBt3bsf8fz

    Deployment Transaction

    mqHoDFMU2o8ADcopSemfyfcU3NQs8aY7Uo4MWMqyKXYXAsRDhaxRgxSL6xwxjegSvpYbJn9qfCTk8krFyQWVabS

    Smart Contract Features

    Escrow Protection

    Funds are locked in escrow until buyer confirms delivery

    Automated Fees

    Platform fees automatically calculated and distributed

    Buyer Control

    Only buyers can release payments to sellers

    Technical Details

    Smart Contract Functions

    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)

    Fee Structure

    2%
    Seller Fee (200 bps)

    Deducted from payment to seller

    1%
    Buyer Fee (100 bps)

    Added to buyer's payment amount

    Account Structure

    MarketplaceConfig:authority, treasury, seller_fee_bps, buyer_fee_bps
    EscrowAccount:buyer, seller, marketplace, price, total_amount, fees, released

    Source Code

    Smart contract is open source and auditable

    Ready to Start Trading?

    Buy and sell digital assets securely with our escrow smart contract