Skip to content

Interface for a decentralized platform enabling secure and trusted P2P transactions with cryptocurrency.

Notifications You must be signed in to change notification settings

mimisavage/Frontend

 
 

Repository files navigation

🌟 SafeTrust 🌟

SafeTrust is a decentralized platform designed to revolutionize P2P transactions, providing secure deposits and payments powered by blockchain and trustless technologies. 🌐✨ Experience transparency and reliability in every cryptocurrency transaction. 💸🔒


🚀 Why Choose SafeTrust?

🔐 Trustless Technology: Secure and block deposits without intermediaries.
💾 Blockchain-Powered Transparency: Immutable, auditable, and verifiable transactions.
💱 Crypto-Payment Support: Manage cryptocurrency payments safely and efficiently.
Automated Refunds: Streamlined processes ensure refunds and payment releases happen automatically.


🌟 Key Features

🛠️ Trustless Escrow:
Funds are securely held in blockchain-based escrow accounts until all terms are met.

🔎 Blockchain Transparency:
Every transaction is logged on the blockchain for full visibility and accountability. 📜

💰 Crypto Payments:
Supports irreversible and secure cryptocurrency payments while reducing risks of fraud or disputes.

🔗 Trustline Process:
Verified trustlines between parties add an extra layer of transaction security. 🔒

📤 Automated Refund System:
Ensures funds are automatically released based on the terms of the agreement, with no manual intervention required.


⚙️ How It Works

  1. Create Escrow: The renter creates a secure escrow account. 🏗️
  2. Fund Escrow: The deposit is funded by the renter. 💵
  3. Rental Agreement: Terms are agreed upon and stored on the blockchain. 📃
  4. Completion or Cancellation: Funds are released based on contract outcomes. 🎯

📋 Getting Started

Prerequisites

  • Node.js v14 or later 🖥️
  • A blockchain wallet like Albedo for secure cryptocurrency transactions. 🔐
  • SafeTrust API access (details here). 📖

Installation

1️⃣ Clone the repository:

git clone https://github.com/titanlabsco/SafeTrust.git

2️⃣ Navigate to the project directory:

cd SafeTrust/Frontend/Application

3️⃣ Set up environment variables:

echo "NEXT_PUBLIC_API_URL=https://api.trustlesswork.com" > .env

4️⃣ Start the development server:

npm run dev

📡 API Reference

  • /escrow/initiate: Start the escrow process and create agreements.
  • /escrow/fund: Securely fund the escrow account.
  • /escrow/complete: Complete the process and release funds to the appropriate party.

📚 Full documentation here.


🛠️ Tech Stack

  • Frontend: 🧑‍💻 Built with TypeScript and styled using Tailwind CSS for rapid UI development.
  • Blockchain: 🛡️ Utilizes smart contracts for secure, immutable transactions.
  • API Integration: 🌐 Interacts with the Trustless Work API for seamless escrow management.
  • Wallet Integration: 🪙 Compatible with wallets like Albedo for secure payment handling.

🎨 Design Mockup

Check out our Figma design here: SafeTrust Figma.


🌟 Join SafeTrust today and revolutionize the way you manage P2P transactions! 🌟

About

Interface for a decentralized platform enabling secure and trusted P2P transactions with cryptocurrency.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.5%
  • Other 0.5%