Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #107 from CoinAlpha/development
Browse files Browse the repository at this point in the history
release / sync dev -> master v0.7.0
  • Loading branch information
dennisocana authored Jul 16, 2021
2 parents 5bd8386 + 536aae7 commit 0c109e2
Show file tree
Hide file tree
Showing 47 changed files with 12,141 additions and 8,671 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

26 changes: 16 additions & 10 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
module.exports = {
extends: ['eslint:recommended', 'prettier'],
parser: 'babel-eslint',
plugins: ['prettier'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'prettier'],
env: {
node: true,
es6: true
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
rules: {
'comma-dangle': ['error', 'never'],
'no-multi-spaces': 'off',
'no-underscore-dangle': 'off',
'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
'no-console': 'off',
// 'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
semi: [2, 'always'],
'prettier/prettier': 'error',
semi: [2, 'always']
}
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
},
};
1 change: 0 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"trailingComma": "none",
"semi": true,
"singleQuote": true,
"tabWidth": 2
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ COPY . .

EXPOSE 5000

RUN yarn build

CMD ["yarn", "run", "start"]
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@ We created hummingbot to promote **decentralized market-making**: enabling membe

## Getting Started

### Run gateway-api

You can either use the hummingbot client to create a config file or you can
create or edit one manually. Copy `conf/global_conf.yml.example` to
`conf/global_conf.yml` then edit the file with your settings.

gateway-api is a TypeScript project and has a build phase. You can use `npm`
or `yarn` to download dependencies, build then run it.


```bash
yarn
yarn build
yarn start
```

### Learn more about Hummingbot

- [Website](https://hummingbot.io)
Expand Down
8 changes: 4 additions & 4 deletions conf/global_conf.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ EXCHANGE_PROXY:
# UNISWAP_V3_ROUTER is deployed at 0xE592427A0AEce92De3Edee1F18E0157C05861564 on the Ethereum mainnet, and the Ropsten, Rinkeby, Görli, and Kovan testnets.
# UNISWAP_V3_NFT_MANAGER is deployed at 0xC36442b4a4522E871399CD717aBDD847Ab11FE88 on the Ethereum mainnet, and the Ropsten, Rinkeby, Görli, and Kovan testnets.

UNISWAP_ROUTER: 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
UNISWAP_V3_CORE: 0x1F98431c8aD98523631AE4a59f267346ea31F984
UNISWAP_V3_ROUTER: 0xE592427A0AEce92De3Edee1F18E0157C05861564
UNISWAP_V3_NFT_MANAGER: 0xC36442b4a4522E871399CD717aBDD847Ab11FE88
UNISWAP_ROUTER: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D'
UNISWAP_V3_CORE: '0x1F98431c8aD98523631AE4a59f267346ea31F984'
UNISWAP_V3_ROUTER: '0xE592427A0AEce92De3Edee1F18E0157C05861564'
UNISWAP_V3_NFT_MANAGER: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88'
# allowed slippage for swap transactions
UNISWAP_ALLOWED_SLIPPAGE: 1.5
# restrict updating pairs that have no reserves or failed for 5 minutes
Expand Down
4 changes: 4 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
Loading

0 comments on commit 0c109e2

Please sign in to comment.