Hello!
We started this tutorial series where we teach you how to create your own NFT marketplace using only WordPress and our Enefti theme, as well as the extensions we’ve developed specifically for this.
We started with a clean WordPress installation, we then installed the Enefti Theme, we imported the demo content and then we installed the ENEFTI Marketplace Core addon.
We will continue setting up the Enefti core, setting up a blockchain and deploying a smart contract.
In order to set up a blockchain head over to the Enefti marketplace core tab, in the sidebar, and scroll to the Blockchain option.
We get the “add new network” on the left, and the list of created ones on the right. Since we’re just starting there are no existing Blockchain networks in the list, so we’ll just have to create one. Head to the name field on the left, i will use the name “Avalanche testnet”, yours can be any name you want, just make sure that it’s descriptive so that you can identify it later.
Leave the “Slug” field free, it will be automatically generated when we complete the process, the same with the “Parent item” dropdown.
The description field is optional but I do encourage you to use it to tell your future self what you intended to do. You can also use an image to identify the network, which I think is cool for visual people like myself.
Next we have three fields: Symbol, Chain ID and RPC Url. To get these values we’ll have to head over to another website called Chainlist.ORG.
Activate the testnets option and then search for the one we will use, called Avalanche. (As a side note, we chose Avalanche because of the speed, but I do encourage you to read up on the various networks available and make the informed choice.
The search will show two results, one is the main network and the other is the testnet. We’ll use the testnet for this tutorial.
So we copy the “Currency”, in our case AVAX, and paste it in the “Symbol” field. Then we have the “Chain ID” which we copy in our own “Chain ID” field.
For the RPC url click on the arrow to open the dropdown and then choose the address with the lowest latency . Copy the address and paste it into our own RPC Url field. Next click the “Add New Network” button and the network will appear in your list.
The next step is to add a contract so head over into the left sidebar and click on the “Manage Contracts” option. A page opens with a form on the left and a list of contracts on the right.
Since it’s the first contract the list is empty.
On the left you have the first field called “Listing Price”. This field is where we input the price we charge for an NFT listing on our site, so if I put in the value 0.001 the users will be charged by the marketplace the sum of 0.001 avax for every NFT listed on the website. The same price is paid to the marketplace owner each time the NFT is sold.
Moving on, we now select the blockchain network previously created from the dropdown, in this instance it’s the Avalanche Testnet, and then we hit Deploy. The website will ask for permissions in your Metamask Wallet in order to be able to act on your behalf.
Select the account you want to use, I’ll use this one that already has some cryptocurrency in it. Click next, we take a look at the permissions the site requires, such as the address, account balance, the activity and, the most important one, to be able to make transactions. Click on “connect”.
Once the connection is made we’ll continue to make the “Contract Deployment” transaction. To do that we review the transaction details and Click on the “Confirm” button. A prompt will pop up notifying us that the Contract has been successfully deployed.
The contract will be visible on the website but it will take a few seconds to be approved, we can see in the Metamask wallet app that the transaction is being processed.
Once the transaction is completed and we see it in the wallet, the site can be used freely. You now have a fully functional NFT marketplace where you can list and sell NFTs.
The next steps that we will cover in the next articles, will be to configure the rest of the addons.
With them you can add the functionalities that allow you to create NFTs or let users login with their Metamask wallet.
We also have a video of the entire process described in this article on our YouTube channel, that you can find bellow.
Customization Services Tailored for You
Looking for a custom website? We've got you covered. From unique designs to custom functionalities, let's bring your vision to life together!
REQUEST WEBSITE CUSTOMIZATION