From 549b257b7487b4dc27e0f9f702b2ce64fbb8a139 Mon Sep 17 00:00:00 2001 From: Jeff Prestes Date: Thu, 21 Nov 2024 10:33:24 -0300 Subject: [PATCH] feat: create first script version --- script/CarbonProjectDeploy.s.sol | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 script/CarbonProjectDeploy.s.sol diff --git a/script/CarbonProjectDeploy.s.sol b/script/CarbonProjectDeploy.s.sol new file mode 100644 index 0000000..d5291aa --- /dev/null +++ b/script/CarbonProjectDeploy.s.sol @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: UNLICENSED +pragma solidity 0.8.25; + +import {Script, console} from "forge-std/Script.sol"; +import {CarbonProject} from "../src/CarbonProject.sol"; + +contract CarbonProjectDeployScript is Script { + CarbonProject public cp; + + function setUp() public {} + + function run() public { + vm.startBroadcast(); + + cp = new CarbonProject("https://www.neocarbon.com.br/br/registro/projeto?id={id}"); + + vm.stopBroadcast(); + } +} \ No newline at end of file