Plugin Documentation
Enter a new era of internet with WEB3 by starting a NFT marketplace by deploying contract directly to your favorite network ETH, Polygon, BSC etc.
There are two ways to complete the installation of this plugin:
wpnc.zip
from CodeCanyonwpnc.zip
from CodeCanyonwpnc.zip
on your computerwp-content/plugins/
on Filezilla and upload the wpnc
plugin directoryGo to admin dashboard > MT Plugins > NFT Creator and click the Settings button from the upper-right area.
See this tutorial on how to Setup ThirdWeb API (Required)
Easily instruct your plugins where to upload the NFT's image/video/3d object etc. (Only one option can be active at the moment).
See this tutorial on how to Setup Infura (Optional)
See this tutorial on how to Setup Moralis (Optional)
Your contract data and the restricted networks.
With the version 2.0.0 of the NFT Creator Plugin you can now let your users deploy a whole multitude of contracts.
We now provide prebuilt contracts from ThirdWeb. Or the possibility to add your own custom contracts (not just one) !
In the end, any option you are checking from inside the dropdown, they will be available for the user to choose on the Create Digital Asset form.
You can learn more about these contracts on ThirdWeb's website.
In order for you to test the plugin you must install Metamask (Or any other wallet).
I would recommend testing the plugin inside a testnet (so you don't actually spend money on testing). Follow this tutorial if you want to set it up
ThirdWeb's API is required in order to use the ThirdWeb's infrastructure services such as Smart Wallet, Storage and RPCs, and it is completely free to use. These services are built into many of the ThirdWeb products such as the CLI and SDKs.
!!! WARNING: Without setting up the ThirdWeb API you and your users will not be able to use the main functionalities of the plugin. !!!As of version 1.3.0 we are offering a set of filters and actions for you to be able to integrate your custom functions inside the creator:
do_action('wpnc_event_before_creation_action', $request);
do_action('wpnc_event_after_creation_action', $request);
Note: As of version 1.2.0 the before event can stop the execution of the Creator if it returns an 401 (or any error code) error.
return apply_filters( 'wpnc_event_before_creation_filter', new WP_REST_Response(["success" => true], 200) , $request );
return apply_filters( 'wpnc_event_after_creation_filter', new WP_REST_Response(["success" => true], 200), $request );
As of version 1.2.0 we are providing a way for you to add custom parameters for your contract constructor. For you to do that you will need to add a custom script inside your theme with the following code:
document.wordpress_nft_creator = {}; document.wordpress_nft_creator.constructor_args = { "param1": "value1" "param2": "value2" // etc. (it should match the number of constructor arguments you have inside your contract) }
If you want to let the user store his custom data you will have to create a form that interacts with the document.wordpress_nft_creator.constructor_args
variable.
Q: Do I need WooCommerce?
A: Nope! This plugin works independently of Woocomerce;
Q: Do I need NFT Core?
A: Nope! This plugin works independently of NFT Core;
Q: Why does it create a contract for every NFT?
A: Because that is the ERC721 standard way of doing things;
Q: Does this plugin support ERC1155 ?
A: You can deploy any kind of contract with this plugin (programming knowledge might be required), even ERC1155. ;
Q: Compatible with other themes?
A: Yes! It is compatible with any theme;
Q: What is the name of the theme used in this demo?
A: iffiliate - WooCommerce Amazon Affiliates Theme by ModelTheme;
Q: How to Increase the Memory Limit on WordPress?
A: Please check this tutorial;