🙌Sample Scene
The example scene contains a basic Decentraland scene with the Metaverse SDK connected to the Business Manager Dashboard. You can use this as a starting point to implement the marketplace in your own scene.
You can download the example scene here.
Marketplace Assistant
The marketplace_assistant.bat
is a handy script that automates several steps of the implementation process, making it faster and less prone to errors. The script provides the following options:
Install dependencies: Installs the required npm packages for the scene.
Implement marketplace: Creates the
marketplace.ts
file in thesrc
folder with the necessary code to integrate the marketplace.Modify Scene ID: Replaces the
zoneId
value in themarketplace.ts
file with the Scene ID provided by the user.Update marketplace SDK: Updates the
dg-world-marketplace-sdk
package to the latest version.Run Scene: Starts the Decentraland scene using the
dcl start --web3
command.
How to Use the Marketplace Assistant
Download the
marketplace_assistant.bat
script from here.Place the script in the root folder of your Decentraland scene.
Run the script by double-clicking the
marketplace_assistant.bat
file.The script will display a menu with the available options. Choose the desired option by entering its number and pressing Enter.
The script will execute the selected action and display logs to inform you of the progress. When the action is completed, the menu will be displayed again.
Step by Step Guide
Follow these steps to implement the marketplace in your Decentraland scene using the example scene and the Marketplace Assistant:
Download the example scene and extract its contents to your project folder.
Download the
marketplace_assistant.bat
script and place it in the root folder of your project.Run the
marketplace_assistant.bat
script by double-clicking it.Choose option 1 to install the required dependencies.
Choose option 2 to implement the marketplace. This will create the
marketplace.ts
file in thesrc
folder.Choose option 3 to modify the Scene ID. Enter your Scene ID when prompted.
(Optional) Choose option 4 to update the marketplace SDK to the latest version.
Choose option 5 to run the scene. The script will execute the
dcl start --web3
command, and your Decentraland scene will be running.
After following these steps, you should have a fully functional marketplace implemented in your Decentraland scene, connected to the Business Manager Dashboard
Last updated