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-dexdirectory. -
Create a
secretsfolder:mkdir secrets
-
Move into the
secretsdirectory and create a file containing yourproject_id:cd secretsecho "project_id_here" > blockfrost.mainnet.token
-
Return to the
/minswap-dexdirectory. -
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-kuberbranch. -
In the
Main.hsfile ofMinswap-Dex, modify theremoteKuberConnectionfunction to use the appropriate endpoint where thekuber-serveris 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