Hello there!
SVOI dev team greets you and would like to present the results of created Decentralized Exchange for the FreeTON Community contest:
#23 FreeTon DEX Implementation Stage 2 Contest.
Goal of this work is to create Decentralized Exchange based on Liquidity Pool mechanism and develop instruments, such as debot and site for interacting with developed smart contracts.
Repository for smart contracts compilation and deployment - https://github.com/SVOIcom/ton-testing-suite
Used ton-solidity compiler - solidity compiler v0.39.0
Used tvm-linker - latest tvm linker
To run data collection and than use that data for explorer you need to configure MySQL database sql file
and change config according to your settings.
- Clone all files from repo
- In cloned folder
npm i
To collect data from graphQL you need to install dependencies:
npm install .
Next, you need to run tonDataCollector:
npm run startDB
We recommend using forever to run the service as a daemon.
Custom start
node index.js config.js
With Forever
forever index.js config.js
By default http server runs on port 3001. We recommend proxify http/https requests with nginx