Skip to content

Commit

Permalink
feat: create first script version
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffprestes committed Nov 21, 2024
1 parent 869546a commit 549b257
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions script/CarbonProjectDeploy.s.sol
Original file line number Diff line number Diff line change
@@ -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();
}
}

0 comments on commit 549b257

Please sign in to comment.