Part 1 : Add TRC20 as a Payment Method Using Node.js and React.js
Implementing a payment system using smart contracts on the TRON network can provide additional security and transparency, and can be achieved by following these general steps:
I assume you know all about the requirements and installations needed, so I will continue this article to the following step which is all about how to implement the payment system using smart contracts and so on.
Install TronBox: Simple Development Framework for Tronweb,
You should have the exact same result as above image.
In the Contracts folder you can create your PaymentContract.sol, sol is and extension for Solidty language.
And then in your PaymentContract.sol file you need to add this smart contract that can handle payments:
end of Part 1.