TRC20 Smart Contract Developer Needed

Job ID: 38616186

Budget: $250 – $750 SGD

We are seeking an experienced smart contract developer to build a flash loan contract based on the TRC20 standard. Responsibilities: Contract Development:

1. Develop a flash loan smart contract enabling borrowers to request loans in TRC20 USDT through an integrated user interface (UI will be provided; your responsibility includes integrating the smart contract with the UI). Maximum loan of USDT 5,000 per transaction. This is the UI: https://dsl.sg/flashloan-trc20usdt-testnet

2. Ensure the contract facilitates the transfer of TRC20 USDT to the borrower’s wallet once a service fees of 20% of the loan amount in terms of TRC20 USDT is paid.

3. Implement a repayment mechanism where the borrower must repay the full loan amount within 1 hour.

4. Integrate a fail-safe mechanism to revert the entire transaction if repayment is not made within the allotted time.

Contract Testing:

1. Unit Testing: Create unit tests in JavaScript or Solidity to validate the flash loan functionality.
2. Simulation: Simulate various scenarios where the borrower either repays the loan successfully or fails, ensuring the contract behaves as expected.

Security and Risk Mitigation: - Reentrancy Protection: Implement Solidity’s `nonReentrant` to safeguard against reentrancy attacks. - Input Validation: Add thorough validation for input values and wallet addresses to prevent potential exploits.

Deployment: - Deploy the contract after all testing is successfully completed.

If you have the necessary expertise, we welcome your application.

Important:

Please see attached. You can use the code for development.

Please explain how you will trigger the payback when we discuss.
Related categories: Blockchain Solidity Smart Contracts