Skip to content

Commit

Permalink
build: add deploy script for root ip collection
Browse files Browse the repository at this point in the history
  • Loading branch information
scottphc committed Jan 24, 2025
1 parent 4d45b5c commit a6729e0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions script/DeployIPRootCollectionAndMint.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.13;

import "../lib/forge-std/src/Script.sol";
import {SpotlightRootIPCollection} from "../src/spotlight-root-ip-collection/SpotlightRootIPCollection.sol";

/* Deploy and verify with the following command:
forge script script/DeployIPRootCollectionAndMint.s.sol:Deploy --broadcast \
--chain-id 1516 \
--rpc-url https://odyssey.storyrpc.io \
--verify \
--verifier blockscout \
--verifier-url 'https://odyssey.storyscan.xyz/api/'
*/

contract Deploy is Script {
function run() public {
vm.startBroadcast(vm.envUint("PRIVATE_KEY"));
SpotlightRootIPCollection ipCollection = new SpotlightRootIPCollection();
ipCollection.mint();
vm.stopBroadcast();
}
}

0 comments on commit a6729e0

Please sign in to comment.