| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The Basic-Contract-Functions application is an easy-to-use app for public and allowlist minting of NFTs, as well as making payments through the Verbiwre contracts. It provides a simple and user-friendly interface for interacting with the contracts.
The application consists of five components. Before running each component, make sure to perform the following steps:
Please note that all the contracts used by the application must be categorized as "Advanced" and deployed using the Verbwire Platform.
To deploy the contracts, you can use the following endpoint: Endpoint: Deploy Contract
To allowlist addresses, use the following endpoint: Endpoint: Add to Allowlist
The following functions are required to run the various components of the application:
function mint(address recipient, string memory tokenURI, uint256 quantity) payablefunction mint(uint256 id, uint256 quantity) external payablefunction allowlistMint(address recipient, string memory tokenURI, uint256 quantity) payablefunction allowlistMint(uint256 id, uint256 qty) external payableNote: Before running the allowlistMint functions, the address must be allowlisted using the endpoint mentioned earlier.
function makePayment(string memory data) public payableTo run the application, execute the following command:
npm run devThis command will start the application and make it available for use.
Feel free to explore and interact with the various components of the application. If you have any questions or encounter any issues, please reach out for assistance.
| Back | FazBrowse Home | New Git URL |