This is a naive implementation of a market maker bot.
Get started using the Mobidex market maker:
npm run cli -- ethereum create-wallet
- Get your address:
npm run cli -- ethereum get-addresses
- Transfer ETH, WETH, and any other asset you wish to make markets for.
Run the following for every token you wish to make markets for: npm run cli -- 0x set-proxy-allowance -n 1 -t <token address>
.
- Create
config.json
at the root of the market maker directory. - Copy
src/config/config.json.template
toconfig.json
. - Replace all
<>
with appropriate values.
./start.sh
Follow steps 1 through 4 of quick start.
docker build -t mobidex-market-maker:latest .
mkdir config
mkdir wallet
mv config.json config/
mv account.json wallet/
docker run --name mmm --mount type=bind,source="$(pwd)"/wallet,target=/app/wallet --mount type=bind,source="$(pwd)"/config,target=/app/config --env CONFIG_FILE=/app/config/config.json --env WALLET_PATH=/app/wallet/account.json --env wallet__password=<password> mobidex-market-maker:latest
GPLv3