Skip to content

Commit

Permalink
feat(script): token deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
idea404 committed Apr 6, 2024
1 parent bbe6e57 commit a7021cf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions script/LocalToken.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.25;

import {Script, console} from "../lib/forge-std/src/Script.sol";
import {LocalToken} from "../src/LocalToken.sol"; // Update the import path to your LocalToken contract

contract DeployLocalToken is Script {
function run() external {
vm.startBroadcast();

LocalToken localToken = new LocalToken();
console.log("Deployed LocalToken at:", address(localToken));

vm.stopBroadcast();
}
}

0 comments on commit a7021cf

Please sign in to comment.