This repository facilitates the creation of transactions for token swapping within the Minswap-Dex ecosystem.
-
Create a project using Blockfrost to generate a
project_id
. -
Navigate to the
/minswap-dex
directory. -
Create a
secrets
folder:mkdir secrets
-
Move into the
secrets
directory and create a file containing yourproject_id
:cd secrets
echo "project_id_here" > blockfrost.mainnet.token
-
Return to the
/minswap-dex
directory. -
Export your Blockfrost Token path. Example:
export BLOCKFROST_TOKEN_PATH=/home/user/minswap-dex/secrets/blockfrost.mainnet.token
-
Run Kuber-Server locally from the
old-kuber
branch. -
In the
Main.hs
file ofMinswap-Dex
, modify theremoteKuberConnection
function to use the appropriate endpoint where thekuber-server
is running. -
Run the matchmaker:
cabal run matchmaker-prototype/
-
Upon finding a matching order, the transaction details, including the transaction hash, will be displayed in the console.
- For more information on the details and operation of the Minswa-Dex, refer to Minswap-Contracts