Skip to content
A scene where MANA from market transactions is burnt, displaying a particle-based fire
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
models
node_modules
src
.DS_Store
.dclignore
.gitattributes
.gitignore
Dockerfile
README.md
package-lock.json several fixes Apr 25, 2019
package.json
scene.json
tsconfig.json

README.md

Mana transaction

Fees collected from the Marketplace are stored in this Altar.

Anyone can burn the MANA collected by touching the Altar's stone and light the flame, which will last 1 block for every 10 MANA burnt.

You MUST be on mainnet for this in order to work

Explore the scene: this link takes you to a copy of the scene deployed to a remote server where you can interact with it just as if you were running dcl start locally.

Install the CLI

Download and install the Decentraland CLI by running the following command

npm i -g decentraland

For a more details, follow the steps in the Installation guide.

Previewing the scene

Once you've installed the CLI, download this example and navigate to its directory from your terminal or command prompt.

from the scene directory:

$:  dcl start

Any dependencies are installed and then the CLI will open the scene in a new browser tab automatically.

Usage

IMPORTANT: You MUST be on mainnet for this in order to work

The amount of mana that's ready to be burnt is displayed as a glowing blue column at the back of the altar. Click on the fire icon at the bottom to burn it. Metamask should then ask for your validation that you agree to the transaction.

This triggers the burning of these tokens. It also shows this by creating a fire as a particle system.

The fire keeps burning for the duration of one Ethereum block mining for every 10 MANA that was burnt. If someone enters the scene while the last fire is still burning, they will also see the fire.

Learn more about how to use blockchain in your scenes in Blockchain operations in our docs site.

Demo Mode

You can set the variable DEMO_MODE to true and the collected MANA will be 25,000 and you won't need to sign a transaction to push the burn button

Copyright info

This scene is protected with a standard Apache 2 licence. See the terms and conditions in the LICENSE file.

You can’t perform that action at this time.