This commit is contained in:
parent
b0c330b3a4
commit
eabb9021de
3
Makefile
3
Makefile
@ -44,6 +44,9 @@ deploy:
|
||||
mint:
|
||||
@forge script script/Interactions.s.sol:MintBasicNft ${NETWORK_ARGS}
|
||||
|
||||
# Can mint using cast:
|
||||
# cast send 0xabcd "mintNft()" --private-key 0x1234 --rpc-url http://xxx:8545
|
||||
|
||||
deployMood:
|
||||
@forge script script/DeployMoodNft.s.sol:DeployMoodNft $(NETWORK_ARGS)
|
||||
|
||||
|
11
img/dragon.json
Normal file
11
img/dragon.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "Hoelee Dragon",
|
||||
"description": "A Digital Act From of Hoelee.",
|
||||
"image": "https://ipfs.io/ipfs/bafybeibkzortmcrvprpci3666s6fsqvvourdjaxvc3tbfgnzo3polm5eo4?filename=Dragon.jpg",
|
||||
"attributes": [
|
||||
{ "trait_type": "height", "value": "69M" },
|
||||
{ "trait_type": "race", "value": "East Dragon" },
|
||||
{ "trait_type": "sex", "value": "Feale" },
|
||||
{ "trait_type": "website", "value": "https://www.hoelee.com" }
|
||||
]
|
||||
}
|
11
img/dragonv2.json
Normal file
11
img/dragonv2.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "Hoelee Dragon",
|
||||
"description": "A Digital Act From of Hoelee.",
|
||||
"image": "https://gateway.pinata.cloud/ipfs/QmRDhvwsCeKDJXsdpjnLpwH2ShQZHLBNGvxd9cHkFUE5xz?filename=Dragon.jpg",
|
||||
"attributes": [
|
||||
{ "trait_type": "height", "value": "69M" },
|
||||
{ "trait_type": "race", "value": "East Dragon" },
|
||||
{ "trait_type": "sex", "value": "Feale" },
|
||||
{ "trait_type": "website", "value": "https://www.hoelee.com" }
|
||||
]
|
||||
}
|
11
img/hoeleev3.json
Normal file
11
img/hoeleev3.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "Mr Hoelee",
|
||||
"description": "A Digital Act Represent of Hoelee.",
|
||||
"image": "https://ipfs.io/ipfs/QmarnAtSqBxj6oMEedR664L6KcE8Fz8zR7jM6jAWM2Xs3w?filename=Hoelee.jpg",
|
||||
"attributes": [
|
||||
{ "trait_type": "height", "value": "172CM" },
|
||||
{ "trait_type": "race", "value": "Chinese" },
|
||||
{ "trait_type": "sex", "value": "Male" },
|
||||
{ "trait_type": "website", "value": "https://www.hoelee.com" }
|
||||
]
|
||||
}
|
11
img/hoeleev4.json
Normal file
11
img/hoeleev4.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "Mr Hoelee",
|
||||
"description": "A Digital Act Represent of Hoelee.",
|
||||
"image": "https://gateway.pinata.cloud/ipfs/bafybeif2aqnlvfpt5gnw7iux7wnug5nzmiucu47ces7ujqnuawdbjp27wi?filename=MrHoelee.jpg",
|
||||
"attributes": [
|
||||
{ "trait_type": "height", "value": "172CM" },
|
||||
{ "trait_type": "race", "value": "Chinese" },
|
||||
{ "trait_type": "sex", "value": "Male" },
|
||||
{ "trait_type": "website", "value": "https://www.hoelee.com" }
|
||||
]
|
||||
}
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user