mirror of
https://github.com/tornadocash/tornado-pool-relayer
synced 2024-02-02 15:04:09 +01:00
fix: contracts
This commit is contained in:
parent
dcf62122de
commit
612fe5680d
@ -1,4 +1,4 @@
|
|||||||
FROM node:12
|
FROM node:14
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock ./
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: '2'
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
|
21
example.env
21
example.env
@ -5,15 +5,22 @@ LETSENCRYPT_HOST=
|
|||||||
# server settings
|
# server settings
|
||||||
PORT=8000
|
PORT=8000
|
||||||
|
|
||||||
# commission for service
|
CHAIN_ID=100
|
||||||
# transfer fee is a fixed value in ether, 0.01 means 0.01 ether
|
SERVICE_FEE=0.05
|
||||||
TRANSFER_SERVICE_FEE=0.01
|
|
||||||
# withdrawal fee is a percentage of the amount, 0.05 means 0.05%
|
NODE_ENV=production
|
||||||
WITHDRAWAL_SERVICE_FEE=0.05
|
|
||||||
|
REDIS_URL=redis://127.0.0.1:6379
|
||||||
|
|
||||||
REWARD_ADDRESS=
|
REWARD_ADDRESS=
|
||||||
|
|
||||||
# tx-manager settings
|
|
||||||
CHAIN_ID=1
|
|
||||||
PRIVATE_KEY=
|
PRIVATE_KEY=
|
||||||
CONFIRMATIONS=4
|
CONFIRMATIONS=4
|
||||||
MAX_GAS_PRICE=100
|
MAX_GAS_PRICE=100
|
||||||
|
|
||||||
|
# commission for service
|
||||||
|
# transfer fee is a fixed value in ether, 0.01 means 0.01 ether
|
||||||
|
TRANSFER_SERVICE_FEE=0.000000001
|
||||||
|
# withdrawal fee is a percentage of the amount, 0.05 means 0.05%
|
||||||
|
WITHDRAWAL_SERVICE_FEE=0.01
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ export const CONTRACT_NETWORKS: { [chainId in ChainId]: string } = {
|
|||||||
// [ChainId.MAINNET]: '0x8Bfac9EF3d73cE08C7CEC339C0fE3B2e57814c1E',
|
// [ChainId.MAINNET]: '0x8Bfac9EF3d73cE08C7CEC339C0fE3B2e57814c1E',
|
||||||
[ChainId.GOERLI]: '0xE2D9aF526edeB16a02FBC3B68B0eB9B534f9c114',
|
[ChainId.GOERLI]: '0xE2D9aF526edeB16a02FBC3B68B0eB9B534f9c114',
|
||||||
[ChainId.OPTIMISM]: '0xcd7318c299A82E887f5180EF865a4c350dFC9fe5',
|
[ChainId.OPTIMISM]: '0xcd7318c299A82E887f5180EF865a4c350dFC9fe5',
|
||||||
[ChainId.XDAI]: '0x4d701A6EE8c13D3AB0d2CE4dfA773c04fa4C5933',
|
[ChainId.XDAI]: '0xdd85b1dbE3379AFA37F703822f9E328d4bAf8625',
|
||||||
};
|
};
|
||||||
|
|
||||||
export const RPC_LIST: { [chainId in ChainId]: string } = {
|
export const RPC_LIST: { [chainId in ChainId]: string } = {
|
||||||
|
Loading…
Reference in New Issue
Block a user