This repository has been archived by the owner on Feb 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from CoinAlpha/development
release / v0.2.0 sync dev => master
- Loading branch information
Showing
26 changed files
with
3,507 additions
and
366 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,48 @@ | ||
# Configuration file | ||
|
||
APPNAME=Hummingbot Gateway API | ||
NODE_ENV=dev | ||
PORT=5000 | ||
PROTOCOLS=["celo", "terra", "balancer", "eth"] | ||
|
||
# use only if ip whitelist is required for local or docker instance | ||
# note that docker instance does not use 127.0.0.1 address | ||
# ipv6 format for locahost ["::ffff:127.0.0.1", "::ffff:1", "fe80::1", "::1"] | ||
IP_WHITELIST= | ||
|
||
HUMMINGBOT_INSTANCE_ID={client_id} | ||
|
||
# Celo | ||
|
||
# Terra | ||
TERRA_LCD_URL=https://tequila-lcd.terra.dev | ||
TERRA_CHAIN=tequila-0004 | ||
|
||
# Balancer | ||
# - network: mainnet, kovan, etc | ||
# - mainnet: https://lcd.terra.dev | ||
# - mainnet chain: columbus-4 | ||
# - testnet: https://tequila-lcd.terra.dev | ||
# - testnet chain: tequila-0004 | ||
TERRA_LCD_URL={testnet_lcd_url} | ||
TERRA_CHAIN={testnet_chain_id} | ||
|
||
# Ethereum | ||
# - chain: mainnet, kovan, etc | ||
# - rpc url: infura or other rpc url | ||
BALANCER_NETWORK={network} | ||
ETHEREUM_RPC_URL=https://{network}.infura.io/v3/{api_key} | ||
ETHEREUM_CHAIN={chain} | ||
ETHEREUM_RPC_URL=https://{chain}.infura.io/v3/{api_key} | ||
|
||
# subgraph_network: | ||
# Balancer | ||
# subgraph_chain | ||
# Reference: https://docs.balancer.finance/sor/development#subgraph | ||
# - mainnet: balancer | ||
# - kovan: balancer-kovan | ||
# Note: REACT_APP_SUBGRAPH_URL used by @balancer-labs/sor | ||
REACT_APP_SUBGRAPH_URL=https://api.thegraph.com/subgraphs/name/balancer-labs/{subgraph_network} | ||
REACT_APP_SUBGRAPH_URL=https://api.thegraph.com/subgraphs/name/balancer-labs/{subgraph_chain} | ||
|
||
# exchange_proxy: | ||
# Reference: https://docs.balancer.finance/smart-contracts/addresses | ||
# - kovan: 0x4e67bf5bD28Dd4b570FBAFe11D0633eCbA2754Ec | ||
# - mainnet: 0x3E66B66Fd1d0b02fDa6C811Da9E0547970DB2f21 | ||
# - kovan: 0x4e67bf5bD28Dd4b570FBAFe11D0633eCbA2754Ec | ||
EXCHANGE_PROXY={exchange_proxy} | ||
|
||
# Uniswap | ||
# Reference: https://uniswap.org/docs/v2/smart-contracts/router02/ | ||
UNISWAP_ROUTER=0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D | ||
|
||
# cert | ||
CERT_PATH={full_path_to_certs_folder} | ||
CERT_PASSPHRASE={passphrase} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ npm-debug.log | |
dist/ | ||
|
||
# cert | ||
certs/ | ||
*.pem | ||
*.srl | ||
*.key | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
FROM node:10.22.0-alpine | ||
|
||
# Set labels | ||
LABEL application="gateway-api" | ||
|
||
# app directory | ||
WORKDIR /usr/src/app | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
certs dir | ||
certs dir for local testing only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.