After Deployed to Sepolia Testnet
CI / Foundry project (push) Has been cancelled

This commit is contained in:
2024-08-19 15:43:51 +08:00
parent b0c330b3a4
commit eabb9021de
6 changed files with 59 additions and 7 deletions
+12 -7
View File
@@ -8,18 +8,22 @@ import {BasicNft} from "src/BasicNft.sol";
import {MoodNft} from "src/MoodNft.sol";
contract MintBasicNft is Script {
// Sepolia Testnet BasicNft Contract = 0xE0C0086A981bA18c2d8834b9f0661C9D682a923C
// Here Use CIDv1 start with bafy...
// Option after open via Google browser with IPFS companion
string public constant IPS_HOELEE =
"ipfs://bafybeiduhlzl7miq2lhjuof67cppkayeqncyw2mgctczntkyfqeakcd7ey/?filename=hoeleev2.json";
string public constant IPS_HOELEE1 =
"https://ipfs.io/ipfs/bafybeiduhlzl7miq2lhjuof67cppkayeqncyw2mgctczntkyfqeakcd7ey/?filename=hoeleev2.json";
string public constant PUG_URI =
"ipfs://bafybeig37ioir76s7mg5oobetncojcm3c3hxasyd4rvid4jqhy4gkaheg4/?filename=0-PUG.json";
string public TEST =
"ipfs://QmY2NYJGnR2XYr51PBBAhdKLWLgiURdUueDGfBomvEAB4C?filename=test.json";
string public HOELEEV3 =
"ipfs://bafybeieh5hltp3i4hnr5sqq5f5cma72bdgfql3jt2qgw3t2nxwmmk3s4vu?filename=hoeleev3.json";
string public HOELEEDRAGON =
"ipfs://bafybeiclddksjw2ufh3rzgio7iiivhbkdvrhujq4lxpyix6zwvjjpwheii?filename=dragon.json";
string public HOELEEDRAGONV2 =
"https://gateway.pinata.cloud/ipfs/QmTYBuMtgfHgLhBDZebLSSoREWPc89EDV9WqCCi8CBdwes?filename=Dragon.json"; // all on pinata
string public HOELEEV4 =
"https://gateway.pinata.cloud/ipfs/QmdRevwgsLoKvqM7eEDYvTsMtqYDJFQCyuihjYYTuQAzJj?filename=MrHoelee.json"; // all on pinata
function run() external {
address mostRecentDeployed = DevOpsTools.get_most_recent_deployment(
@@ -38,12 +42,13 @@ contract MintBasicNft is Script {
function mintNftOnContract(address contractAddress) public {
vm.startBroadcast();
BasicNft basicNft = BasicNft(contractAddress);
basicNft.mintNft(IPS_HOELEE);
basicNft.mintNft(HOELEEDRAGONV2);
vm.stopBroadcast();
}
}
contract MintMoodNft is Script {
// Sepolia Testnet MintMoodNft Contract - 0xCB9be8B7E6AeEA2ae6b6a97fd4B65d51e5DC6e8E
function run() external {
address mostRecentDeployed = DevOpsTools.get_most_recent_deployment(
"MoodNft",