mirror of
https://github.com/autistic-symposium/mev-toolkit.git
synced 2025-05-03 07:14:58 -04:00
Add code from erc721 101 class (#5)
This commit is contained in:
parent
4b1035be2c
commit
bb3dcb5b32
8 changed files with 150 additions and 0 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