📖
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
  • What is arbitrage?
  • Using melwallet CLI to arbitrage
  • Prerequisites
  • Time for some arbitrage
Edit on GitHub
  1. Developer guides
  2. Getting tokens

Melmint arbitrage

How to use melminter to (hopefully) profit via arbitrage.

PreviousUsing melminterNextRun a full node

Last updated 1 year ago

What is arbitrage?

Arbitrage is:

The buying and selling of some asset (e.g. currency, securities, commodities, etc) in different markets to take advantage of differing prices for the same asset

In our case, we have multiple "markets", or liquidity pools, that contain asset pairs, such as MEL/SYM or MEL/ERG, and SYM/ERG. The Melmint mechanism , but does not interact with the other asset pairs.

In order to maintain the other pairs, we'll need YOU to do arbitrage and hopefully make some money.

Using melwallet CLI to arbitrage

Prerequisites

You'll need a wallet containing funds. is a guide on how to set that up on the testnet.

Time for some arbitrage

melwallet-cli --wallet-path <path to wallet> autoswap <value>  

Here, <value> is the amount of MEL that you want to automatically swap for arbitrage.

This command will automatically execute trades on the "triangular" MEL/SYM/ERG pairs.

🪙
💰
maintains the MEL/SYM pair
Here