Skip to content

reeshavacharya/minswap-dex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Minswap-Dex Matchmaker

This repository facilitates the creation of transactions for token swapping within the Minswap-Dex ecosystem.

Getting Started

Setting Up Blockfrost

  1. Create a project using Blockfrost to generate a project_id.

  2. Navigate to the /minswap-dex directory.

  3. Create a secrets folder:

    mkdir secrets
  4. Move into the secrets directory and create a file containing your project_id:

    cd secrets 
    echo "project_id_here" > blockfrost.mainnet.token
  5. Return to the /minswap-dex directory.

  6. Export your Blockfrost Token path. Example:

    export BLOCKFROST_TOKEN_PATH=/home/user/minswap-dex/secrets/blockfrost.mainnet.token

Running the Matchmaker

  1. Run Kuber-Server locally from the old-kuber branch.

  2. In the Main.hs file of Minswap-Dex, modify the remoteKuberConnection function to use the appropriate endpoint where the kuber-server is running.

  3. Run the matchmaker:

    cabal run matchmaker-prototype/
  4. Upon finding a matching order, the transaction details, including the transaction hash, will be displayed in the console.

More Information

  • For more information on the details and operation of the Minswa-Dex, refer to Minswap-Contracts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published