From da4b7e97d7345ab989353ace35bdac2aea5b57d9 Mon Sep 17 00:00:00 2001 From: Syifa Date: Wed, 24 Sep 2025 08:33:14 +0700 Subject: [PATCH] fixed: create smart contract tokens and connect to the block chain --- contracts/SyifaToken.sol | 2 +- hardhat.config.ts | 2 +- scripts/deploy.ts | 2 +- tsconfig.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contracts/SyifaToken.sol b/contracts/SyifaToken.sol index 9188abc..774e93f 100644 --- a/contracts/SyifaToken.sol +++ b/contracts/SyifaToken.sol @@ -7,4 +7,4 @@ contract SyifaToken is ERC20 { constructor(uint256 initialSupply) ERC20("SyifaToken", "SYF") { _mint(msg.sender, initialSupply * 10 ** decimals()); } -} +} \ No newline at end of file diff --git a/hardhat.config.ts b/hardhat.config.ts index e1c1776..220909f 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -18,4 +18,4 @@ const config: HardhatUserConfig = { }, }; -export default config; +export default config; \ No newline at end of file diff --git a/scripts/deploy.ts b/scripts/deploy.ts index b59036a..2cad769 100644 --- a/scripts/deploy.ts +++ b/scripts/deploy.ts @@ -11,4 +11,4 @@ async function main() { main().catch((error) => { console.error(error); process.exitCode = 1; -}); +}); \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 574e785..6eda550 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,4 +8,4 @@ "skipLibCheck": true, "resolveJsonModule": true } -} +} \ No newline at end of file