mirror of
https://github.com/autistic-symposium/blockchains-security-toolkit.git
synced 2025-05-18 22:50:22 -04:00
add some files from my computer
This commit is contained in:
parent
44874369f1
commit
33411f9bc4
12 changed files with 318 additions and 25 deletions
14
erc721-solidity-101/scripts/deploy-contract.js
Normal file
14
erc721-solidity-101/scripts/deploy-contract.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
async function main() {
|
||||
const nft = await ethers.getContractFactory("MiaNFT");
|
||||
|
||||
const nft_deploy = await nft.deploy();
|
||||
console.log(" ⛓🧱✨ Contract address:", nft_deploy.address);
|
||||
console.log(" ➡️ (Please add this string to .env)");
|
||||
}
|
||||
|
||||
main()
|
||||
.then(() => process.exit(0))
|
||||
.catch(e => {
|
||||
console.error(e);
|
||||
process.exit(1);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue