Skip to content

Commit

Permalink
try deploy to netlify [2]
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSich committed Oct 13, 2023
1 parent 8bec623 commit bdc89bf
Show file tree
Hide file tree
Showing 7 changed files with 1,380 additions and 83 deletions.
2 changes: 1 addition & 1 deletion api/router.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import express from 'express'
import { getList, createTX } from './model.js'
import config from '../config.json' assert {type: 'json'}
import config from '../config.js'

const router = express.Router()

Expand Down
2 changes: 1 addition & 1 deletion apps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"web-vitals": "^2.1.4"
},
"scripts": {
"build": "set BUILD_PATH='../build/apps' react-scripts build",
"build": "BUILD_PATH='../build/apps' react-scripts build",
"start": "react-scripts start",
"test": "react-scripts test",
"eject": "react-scripts eject"
Expand Down
77 changes: 77 additions & 0 deletions config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
const config = {
"RATELIMIT": {
"TEST": "This a TEST"
},
"DRIP_LIST": {
"FUJI": {
"NAME": "Avalanche Fuji",
"TOKEN": "AVAX",
"RPC": "https://api.avax-test.network/ext/C/rpc",
"CHAINID": 43113,
"EXPLORER": "https://testnet.snowtrace.io/",
"IMAGE": "",
"MAX_PRIORITY_FEE": "10000000000",
"MAX_FEE": "100000000000",
"DRIP_AMOUNT": 1,
"DECIMALS": 18,
"RECALIBRATE": 30,
"RATELIMIT": {
"MAX_LIMIT": 1,
"WINDOW_SIZE": 1440
}
},
"MUMBAI": {
"NAME": "Polygon Mumbai",
"TOKEN": "MATIC",
"RPC": "https://api.avax-test.network/ext/C/rpc",
"CHAINID": 80001,
"EXPLORER": "https://mumbai.polygonscan.com/",
"IMAGE": "",
"MAX_PRIORITY_FEE": "10000000000",
"MAX_FEE": "100000000000",
"DRIP_AMOUNT": 1,
"DECIMALS": 18,
"RECALIBRATE": 30,
"RATELIMIT": {
"MAX_LIMIT": 1,
"WINDOW_SIZE": 1440
}
},
"ATHENS3": {
"NAME": "Zetachain Athens 3",
"TOKEN": "ZETA",
"RPC": "https://api.avax-test.network/ext/C/rpc",
"CHAINID": 0,
"EXPLORER": "https://explorer.zetachain.com/",
"IMAGE": "",
"MAX_PRIORITY_FEE": "10000000000",
"MAX_FEE": "100000000000",
"DRIP_AMOUNT": 1,
"DECIMALS": 18,
"RECALIBRATE": 30,
"RATELIMIT": {
"MAX_LIMIT": 1,
"WINDOW_SIZE": 1440
}
},
"HOLESKY": {
"NAME": "Ethereum Holesky",
"TOKEN": "ETH",
"RPC": "https://api.avax-test.network/ext/C/rpc",
"CHAINID": 0,
"EXPLORER": "https://holesky.etherscan.io/",
"IMAGE": "",
"MAX_PRIORITY_FEE": "10000000000",
"MAX_FEE": "100000000000",
"DRIP_AMOUNT": 1,
"DECIMALS": 18,
"RECALIBRATE": 30,
"RATELIMIT": {
"MAX_LIMIT": 1,
"WINDOW_SIZE": 1440
}
}
}
}

export default config
75 changes: 0 additions & 75 deletions config.json

This file was deleted.

Loading

0 comments on commit bdc89bf

Please sign in to comment.