-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add MBSM deployment script (#55)
* feat: add MBSM deployment script * chore: Update foundry.yml
- Loading branch information
Showing
3 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// SPDX-License-Identifier: UNLICENSED | ||
pragma solidity ^0.8.20; | ||
import {Script} from "forge-std/Script.sol"; | ||
|
||
import "../src/MasterBlueprintServiceManager.sol"; | ||
|
||
// Here is how you can run this script: | ||
// forge script scripts/MBSMDeployer.s.sol -vvvv --broadcast --evm-version london --legacy --private-key $(subkey inspect //Alice --scheme Ecdsa --output-type json | jq -r .secretSeed) | ||
|
||
contract MBSMDeployerScript is Script { | ||
function run() public { | ||
vm.createSelectFork("tangle_local"); | ||
vm.startBroadcast(); | ||
// TODO: Change this to the actual protocol fees receiver address | ||
address payable protocolFeesReceiver = payable(address(0x0)); | ||
new MasterBlueprintServiceManager(protocolFeesReceiver); | ||
vm.stopBroadcast(); | ||
|
||
// vm.createSelectFork("base-sepolia"); | ||
// vm.startBroadcast(); | ||
// new Counter(); | ||
// vm.stopBroadcast(); | ||
} | ||
} |