Skip to content

Instantly share code, notes, and snippets.

View Spyder15's full-sized avatar
🏠
Working from home

priyanshu mundra Spyder15

🏠
Working from home
View GitHub Profile
@Spyder15
Spyder15 / TRC20.sol
Created June 14, 2024 03:05
TRC20 token sample with ownership concept and safeguard against reentrancy attacks
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
contract TRC20 {
string public name;
string public symbol;
uint8 public decimals = 18;
uint256 public totalSupply;