infernet-1.0.0 update
This commit is contained in:
@ -5,7 +5,8 @@ import {Script, console2} from "forge-std/Script.sol";
|
||||
import {DiffusionNFT} from "../src/DiffusionNFT.sol";
|
||||
|
||||
contract CallContract is Script {
|
||||
string defaultPrompt = "A picture of a shrimp dunking a basketball";
|
||||
string defaultPrompt = "A picture of a shrimp dunking a basketball";
|
||||
|
||||
function run() public {
|
||||
// Setup wallet
|
||||
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
|
||||
@ -13,7 +14,7 @@ string defaultPrompt = "A picture of a shrimp dunking a basketball";
|
||||
string memory prompt = vm.envOr("prompt", defaultPrompt);
|
||||
vm.startBroadcast(deployerPrivateKey);
|
||||
|
||||
DiffusionNFT nft = DiffusionNFT(0x663F3ad617193148711d28f5334eE4Ed07016602);
|
||||
DiffusionNFT nft = DiffusionNFT(0x13D69Cf7d6CE4218F646B759Dcf334D82c023d8e);
|
||||
|
||||
nft.mint(prompt, mintTo);
|
||||
|
||||
|
@ -14,9 +14,9 @@ contract Deploy is Script {
|
||||
address deployerAddress = vm.addr(deployerPrivateKey);
|
||||
console2.log("Loaded deployer: ", deployerAddress);
|
||||
|
||||
address coordinator = 0x5FbDB2315678afecb367f032d93F642f64180aa3;
|
||||
address registry = 0x663F3ad617193148711d28f5334eE4Ed07016602;
|
||||
// Create consumer
|
||||
DiffusionNFT nft = new DiffusionNFT(coordinator);
|
||||
DiffusionNFT nft = new DiffusionNFT(registry);
|
||||
console2.log("Deployed IrisClassifier: ", address(nft));
|
||||
|
||||
// Execute
|
||||
|
Reference in New Issue
Block a user