The Sharon project is focused on building a secure and efficient solution to process USDT token transactions on the blockchain. This project aims to integrate with the Spheron protocol and enable seamless transactions using USDT, targeting decentralized applications (dApps) and businesses that require a stablecoin for payments.
- USDT Integration: Sharon facilitates the creation and execution of transactions using USDT tokens.
- User Wallet Integration: We aim to ensure smooth interaction between blockchain wallets (like Metamask) and our platform.
- Blockchain-Based Payment Solution: The project aims to provide an accurate, secure, and scalable payment solution using blockchain technology.
- Secure transaction execution with USDT tokens.
- Easy wallet integration for users.
- Smart contract-based USDT transactions.
- Early-stage testing using Spheron Protocol's test environment.
- Metamask connected to the Spheron test network.
- Small amounts of ETH for gas fees in the Arbitrum Sepolia network.
-
Clone the repository:
git clone https://github.com/your-repo/sharon-project.git cd sharon-project
-
Install dependencies:
npm install
-
Deploy the smart contract:
npx hardhat run scripts/deploy.js --network sepolia
- Ensure that you have USDT test tokens in your wallet.
- Interact with the smart contracts through the provided front-end interface.
- Track transaction logs and wallet balances in the connected wallet (e.g., Metamask).
The core logic of the USDT transaction processing is written in Solidity.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract USDTTransactions {
address public owner;
event TransactionExecuted(address indexed from, address indexed to, uint256 amount);
constructor() {
owner = msg.sender;
}
function executeTransaction(address to, uint256 amount) external payable {
require(msg.value >= amount, "Insufficient funds");
payable(to).transfer(amount);
emit TransactionExecuted(msg.sender, to, amount);
}
}
You can run the following command to test the deployment:
npx hardhat test
- Phase 1: Infrastructure setup and smart contract deployment.
- Phase 2: Testing USDT transaction flows on the test network.
- Phase 3: Integrating with payment platforms and expanding wallet support.
- Phase 4: Security audit and mainnet deployment.
We welcome contributions from the community. Please submit pull requests for any changes or enhancements you'd like to see.
This project is licensed under the MIT License.