Initial commit

This commit is contained in:
2025-02-18 21:56:51 +03:00
commit b56e6b5e46
19 changed files with 6998 additions and 0 deletions

17
backend/scripts/deploy.js Normal file
View File

@@ -0,0 +1,17 @@
async function main() {
const [deployer] = await ethers.getSigners();
console.log('Deploying contracts with the account:', deployer.address);
const MyContract = await ethers.getContractFactory('MyContract');
const contract = await MyContract.deploy();
console.log('Contract deployed to:', contract.address);
}
main()
.then(() => process.exit(0))
.catch((error) => {
console.error(error);
process.exit(1);
});