P2P Exchange - TUIT/USDC
Buy and Sell Orders
1. Connect Your Wallet
1. Buy Order
- A user who wants to buy TUIT places a Buy Order.
- They specify:
- The amount of TUIT they want.
- The price per TUIT they are willing to pay.
- The payment method (PayPal, USDC, BTC).
- Once listed, another user can match the order by selling TUIT to them at the specified price.
3. Sell Order
- A user who wants to sell TUIT places a Sell Order.
- They specify:
- The amount of TUIT they are selling.
- The price per TUIT they want to receive.
- The payment method they accept.
- Once listed, another user can match the order by buying the TUIT at the given price.
Matching a Trade
- When a user clicks "Match Trade" on an order, they agree to complete the trade.
- The buyer sends payment (via the selected method).
- The seller transfers the TUIT tokens to the buyer’s wallet.
- The order is removed from the list.
How It Works
Payments are verified using third-party APIs (e.g., PayPal API, Etherscan, BlockCypher).
The system automatically checks whether the payment was received before marking an order as completed.
Users still transfer funds manually, but verification happens automatically.
Implementation Steps
- For PayPal Payments:
- Use PayPal API to confirm if the buyer has sent payment.
- Once verified, the system notifies the seller to release TUIT.
- For USDC/BTC Payments:
- Use blockchain explorers (Etherscan, BlockCypher) to track the transaction.
- If a matching wallet transaction ID is found, the order is completed.
Advantages of This Method
- ✔ No blockchain fees (gas fees) – It doesn’t rely on smart contracts.
- ✔ Easier to integrate – Uses web APIs for verification.
- ✔ Faster transactions – Doesn’t wait for blockchain confirmations.
Not connected