Skip to content

Commit

Permalink
deploy for tictactoe
Browse files Browse the repository at this point in the history
  • Loading branch information
hamdiallam committed Oct 1, 2024
1 parent a63bec1 commit d083ddf
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions contracts/script/tictactoe/Deploy.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

import {Script, console} from "forge-std/Script.sol";
import {TicTacToe} from "../../src/tictactoe/TicTacToe.sol";

contract DeployScript is Script {
function setUp() public {}

function run() public {
vm.broadcast();
TicTacToe game = new TicTacToe{ salt: "tictactoe" }();
console.log("Deployed at: ", address(game));
}
}

0 comments on commit d083ddf

Please sign in to comment.