Created
April 9, 2023 01:12
-
-
Save ChristianOConnor/89d06f1290be78d1a1879800491c971a to your computer and use it in GitHub Desktop.
deploy script for RandomSurfaceReachT1.sol
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ethers } from "hardhat"; | |
const hre = require("hardhat"); | |
const dotenv = require("dotenv"); | |
dotenv.config(); | |
async function main() { | |
const SurfaceReachT1NFT = await hre.ethers.getContractFactory("RandomSurfaceReachT1"); | |
const surfaceReachT1NFT = await SurfaceReachT1NFT.deploy(process.env.AIRNODE_NODARY_ADDRESS); | |
await surfaceReachT1NFT.deployed(); | |
console.log("SurfaceReach1NFT deployed to:", surfaceReachT1NFT.address); | |
} | |
main() | |
.then(() => process.exit(0)) | |
.catch((error) => { | |
console.error(error); | |
process.exit(1); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment