- Open an existing
WardenNFTFactory(see Deployments) or deploy your own (see Deploy). - Create your own collection by calling the
createCollectionmethod with your desired name and symbol. - Retrieve your collection using the
collectionsmethod by passing your wallet address. - Call the
createNFTmethod and provide a prompt for the AI. - After successful execution, a new NFT will be minted to your address, and the
nftCountvalue will be incremented.
The currently deployed WardenNFTFactory address on the Sepolia testnet is 0x31b939ff53b83c57D4F5317A87121ed82d44E363.
$ make build$ make test$ forge fmt- Set the
DEPLOYER_PRIVATE_KEYenvironment variable. - Run:
$ forge script script/WardenNFTFactory.s.sol:DeployFactory \ --sig "run(address, uint32, bytes32, string calldata)" \ <mailbox_contract_address> <domain> <destination_address> <plugin_name> \ --rpc-url <your_rpc_url> \ --broadcast
Example Warden default constructor values for Sepolia testnet:
- mailbox_contract_address:
0x2e7FAb47da4AeE0A8b8F8AAfFAB1Ca698F864bdf - domain:
141414 - destination_address:
0x000000000000000000000000E5616e072FA070E4b9B4A1fab03849555496a6CA - plugin_name:
"pfp"