📖
Mel docs
HomeOld docs
  • A post-blockchain Web3
  • Conceptual wiki
    • Data model
    • Consensus
    • MEL: trustless sound money
    • Governance-free neutrality
    • Covenants
    • Light clients
    • Network architecture
    • Melnet: the P2P layer
    • What belongs on-chain?
  • Developer guides
    • Overview
    • 🛠️Gibbername: your first off-chain composable protocol
      • melprot: a quick intro
      • Design
      • Implement
      • Use
      • Next steps
    • 💰Wallets
      • Setup and installation
      • Sending money
      • Swapping tokens
    • 🪙Getting tokens
      • Melmint overview
      • Using melminter
      • Melmint arbitrage
    • 🤖Run a full node
      • Melnode quick start
      • Basic replica node
      • Setting up a local simnet
  • 🌉Szaldi guide
    • Bridge your coins
    • Architectural overview
  • Resources
    • Yellow Paper
    • Frequently asked questions
    • MelVM spec
Powered by GitBook
On this page
  • Installation and Setup
  • Running melminter
  • Caveats
Edit on GitHub
  1. Developer guides
  2. Getting tokens

Using melminter

This page shows how to participate in Melmint with the melminter CLI.

PreviousMelmint overviewNextMelmint arbitrage

Last updated 1 year ago

Installation and Setup

Ensure that you have an up-to-date version of melminter installed:

cargo install --locked melminter

You will need:

  • A small amount of MEL in your wallet (see setup instructions ). This is because Melmint transactions are required to pay transaction fees, just like every other transaction.

If you simply want to try this out on the testnet, you can acquire testnet MEL yourself via a faucet transaction, as shown .

If you wish to participate in mainnet melminting, please ask for some MEL in the #mel channel of our .

Running melminter

melminter --payout <payout-wallet-address>

The first time you run melminter, it will ask you to send a particular address a small amount of MEL in order to start. This is so that it can pay initial transaction fees. Send that money, and after around 30 seconds you'll see a nice TUI show up:

Running melminter will generate ERG, a temporary token representing computation, and immediately exchange it for MEL. Note the daily return line in the terminal output, which predicts how much computational work (in DOSC) the minter will do in 24 hours, as well as how much MEL that will buy.

Caveats

Bidding for MEL with computation is not always profitable. Because of the mechanics of Melmint, minting is very unlikely to be profitable unless you either have a top-of-the-line CPU and cheap electricity, or Melmint is off-peg. This is because Melmint is not a proof-of-work consensus system, but rather a pegging arbitrage system that is only really used to restore the MEL/DOSC .

Transient volatility in the MEL/ERG exchange rate may also affect profitability.

melminter makes no attempt at guessing whether or not minting is profitable.

🪙
here
Discord server
here