
# Project Setup and Execution Instructions

## Prerequisites
- Node.js (version 18.0.0 or higher)
- Solidity compiler (solc) installed globally (version 0.8.0 or higher)
   > https://github.com/ethereum/solidity/releases
- Movement-cli or Aptos-cli installed globally (Now only test with aptos-cli v1.0.9)
   > https://github.com/aptos-labs/aptos-core/releases?page=3

## General Variables
Refer to `test/comm.js` for commonly used variables. Update them as per your requirements.

## Installation Steps

1. Install `movement-cli or aptos-cli` to compile the contracts in the `move` directory and generate deployment files `mv` and `metadata.bcs`.

2. Run the following command to Compile the evm contract:
   `````
   aptos move compile --package-dir move --save-metadata
   `````
   This will show output like this:
   ```txt
   Compiling, may take a little while to download git dependencies...
   INCLUDING DEPENDENCY AptosFramework
   INCLUDING DEPENDENCY AptosStdlib
   INCLUDING DEPENDENCY MoveStdlib
   BUILDING demo
   {
   "Result": [
      "c05c4bafbbb769d269d9964b0e581c2c5d095e5e3130e9f5f6fc59c55fa9f250::evm"
   ]
   }
   ```
3. Run the following command to generate the current node sdk:
   ```
   npm i
   npm run _build:node
   ```

4. Run the following command to test uniswap on move evm:

   ````
   node test/uniswap.js
   ````
---

Please note that the above instructions are provided as a reference. Make sure to update them with the actual version numbers and specific details relevant to your project.