Every purchase is secured by Trustify. Funds are held in a Solana smart contract until you confirm delivery. No risk for buyers or sellers.
Premium noise-cancelling wireless headphones
Cherry MX switches, RGB backlit
7-in-1 multiport adapter
Adjustable aluminum laptop stand
Adding Trustify escrow to any site takes four steps
Add the TrustifyButton component to your project
Pass the payment amount and description as props
Buyer clicks the button and approves the wallet transaction
Funds are locked on-chain until delivery is confirmed
This is the actual code powering the buy buttons above
import { TrustifyButton } from "@/sdk/TrustifyButton"
function ProductCard({ name, price }) {
return (
<div className="product-card">
<h3>{name}</h3>
<p>{price} SOL</p>
<TrustifyButton
amount={price}
description={`Purchase: ${name}`}
onSuccess={(signature) => {
// Handle successful escrow creation
console.log("Escrow created:", signature)
}}
onError={(error) => {
console.error("Payment failed:", error)
}}
/>
</div>
)
}