### Install ERC721Psi with npm Source: https://github.com/estarriolvetch/erc721psi/blob/main/README.md This snippet shows how to install the ERC721Psi library as a development dependency using npm, a popular JavaScript package manager. ```bash npm install --save-dev erc721psi ``` -------------------------------- ### Install ERC721Psi with yarn Source: https://github.com/estarriolvetch/erc721psi/blob/main/README.md This snippet demonstrates how to install the ERC721Psi library as a development dependency using yarn, an alternative JavaScript package manager. ```bash yarn add --dev erc721psi ``` -------------------------------- ### Basic ERC721Psi Contract with Batch Minting Source: https://github.com/estarriolvetch/erc721psi/blob/main/README.md This Solidity code defines a basic ERC721 compliant contract named 'Adventurer' using the ERC721Psi library. It includes a constructor to set the token name and symbol, and a 'mint' function that allows batch minting of tokens with a fixed gas cost, similar to ERC721A. ```solidity pragma solidity ^0.8.0; import "erc721psi/contracts/ERC721Psi.sol"; contract Adventurer is ERC721Psi { constructor() ERC721Psi ("Adventurer", "ADVENTURER"){ } function mint(uint256 quantity) external payable { // _safeMint's second argument now takes in a quantity, not a tokenId. (same as ERC721A) _safeMint(msg.sender, quantity); } } ``` -------------------------------- ### ERC721Psi Random Seed Interface Source: https://github.com/estarriolvetch/erc721psi/blob/main/README.md This Solidity interface defines the 'IERC721RandomSeed' for interacting with ERC721Psi's random seed extension. It includes a 'seed' function that returns a unique random seed for a given token ID, intended for generating randomized metadata. ```solidity interface IERC721RandomSeed { function seed(uint256 tokenId) external view returns (uint256); } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.