fixed: create smart contract tokens and connect to the block chain
This commit is contained in:
parent
b8a54bbbbf
commit
da4b7e97d7
|
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -18,4 +18,4 @@ const config: HardhatUserConfig = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
|
@ -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;
|
||||||
});
|
});
|
||||||
|
|
@ -8,4 +8,4 @@
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"resolveJsonModule": true
|
"resolveJsonModule": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue