Skip to content

Latest commit

 

History

History
executable file
·
60 lines (51 loc) · 1.36 KB

README.md

File metadata and controls

executable file
·
60 lines (51 loc) · 1.36 KB

Deploy Uniswap

Requires ansible、nodejs、yarn、docker、docker-compose to be installed

Configuration of the deployment

Step 1

$ cd axon-devops/uni

Step 2

$ vim scripts/config.yml

Editor config.yml

deploy_path: "./axon/uni-v2"                                                            # deploy path
v3_contract_deploy_path: "./axon/uni-v3-contract"                                       # v3 contract compile path(git pull path)
node_address: "http://localhost:8000"                                                   # Axon node address
hex_private_key: "0x37aa0f893d05914a4def0460c0a984d3611546cfb26924d7a7ca6e0db9950a2d"   # Your private key
hex_pub_address: "0x8ab0cf264df99d83525e9e11c7e4db01558ae1b1"                           # Your public address
listening_port: "8300"                                                                  # listening port

make command

v2-deploy

v2-deploy clears the data and starts the uni-interface

$ make v2-deploy

v2-start

Start uni-interface

$ make v2-start

v2-stop

Stop uni-interface

$ make v2-stop

v3-deploy

v3-deploy clears the data and starts the uni-interface

$ make v3-deploy

v3-start

Start uni-interface

$ make v3-start

v3-stop

Stop uni-interface

$ make v3-stop