diff --git a/ethereum/fly/.env.github b/ethereum/fly/.env.github index 3efd632..3ef11b2 100644 --- a/ethereum/fly/.env.github +++ b/ethereum/fly/.env.github @@ -4,4 +4,3 @@ PROD_PRIVATE_KEY="00000000000000000000000000000000000000000000000000000000000000 DEV_PRIVATE_KEY="0000000000000000000000000000000000000000000000000000000000000000" LOCAL_PRIVATE_KEY="ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" OWNER_ADDRESS="0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266" -FLY_CANISTER_ETH_ADDRESS="0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266" diff --git a/ethereum/fly/scripts/deploy.ts b/ethereum/fly/scripts/deploy.ts index 3e8d133..9ec1d61 100644 --- a/ethereum/fly/scripts/deploy.ts +++ b/ethereum/fly/scripts/deploy.ts @@ -1,16 +1,12 @@ import { ethers } from "hardhat"; require("dotenv").config(); -const { OWNER_ADDRESS, FLY_CANISTER_ETH_ADDRESS } = process.env; +const { OWNER_ADDRESS } = process.env; async function main() { // deploy contract const Contract = await ethers.getContractFactory("Fly"); - const contract = await Contract.deploy( - OWNER_ADDRESS!, - FLY_CANISTER_ETH_ADDRESS!, - 761_035 - ); + const contract = await Contract.deploy(OWNER_ADDRESS!, 761_035); await contract.waitForDeployment(); const address = await contract.getAddress(); console.log(`Contract deployed to ${address}`);