fixed: create smart contract tokens and connect to the block chain

This commit is contained in:
Syifa 2025-09-24 08:33:14 +07:00
parent b8a54bbbbf
commit da4b7e97d7
4 changed files with 4 additions and 4 deletions

View File

@ -7,4 +7,4 @@ contract SyifaToken is ERC20 {
constructor(uint256 initialSupply) ERC20("SyifaToken", "SYF") { constructor(uint256 initialSupply) ERC20("SyifaToken", "SYF") {
_mint(msg.sender, initialSupply * 10 ** decimals()); _mint(msg.sender, initialSupply * 10 ** decimals());
} }
} }

View File

@ -18,4 +18,4 @@ const config: HardhatUserConfig = {
}, },
}; };
export default config; export default config;

View File

@ -11,4 +11,4 @@ async function main() {
main().catch((error) => { main().catch((error) => {
console.error(error); console.error(error);
process.exitCode = 1; process.exitCode = 1;
}); });

View File

@ -8,4 +8,4 @@
"skipLibCheck": true, "skipLibCheck": true,
"resolveJsonModule": true "resolveJsonModule": true
} }
} }