Skip to content

Commit 4ab6ed1

Browse files
committed
🔧 Fix GitHub Actions: Add api_config template
- api_config.json.template for repo (no keys) - Remove api_config.json from gitignore - GitHub Actions can now build successfully
1 parent a9ccaea commit 4ab6ed1

2 files changed

Lines changed: 74 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ENV/
4444
*.swo
4545

4646
# Config files with sensitive data
47-
api_config.json
47+
# api_config.json - DISABLED to allow template in repo
4848

4949
# Backup files
5050
*.bak

api_config.json.template

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"etherscan": {
3+
"key": "",
4+
"free": true,
5+
"endpoints": {
6+
"ETH": "https://api.etherscan.io/api",
7+
"BSC": "https://api.bscscan.com/api",
8+
"POLYGON": "https://api.polygonscan.com/api",
9+
"AVAX": "https://api.snowtrace.io/api",
10+
"FTM": "https://api.ftmscan.com/api",
11+
"ARB": "https://api.arbiscan.io/api",
12+
"OP": "https://api-optimistic.etherscan.io/api"
13+
}
14+
},
15+
"blockcypher": {
16+
"key": "",
17+
"free": true,
18+
"endpoints": {
19+
"BTC": "https://api.blockcypher.com/v1/btc/main",
20+
"LTC": "https://api.blockcypher.com/v1/ltc/main",
21+
"DOGE": "https://api.blockcypher.com/v1/doge/main"
22+
}
23+
},
24+
"blockchain_info": {
25+
"key": "",
26+
"free": true,
27+
"endpoint": "https://blockchain.info"
28+
},
29+
"blockstream": {
30+
"free": true,
31+
"endpoint": "https://blockstream.info/api"
32+
},
33+
"trongrid": {
34+
"key": "",
35+
"free": true,
36+
"endpoint": "https://api.trongrid.io"
37+
},
38+
"solana": {
39+
"free": true,
40+
"endpoints": [
41+
"https://api.mainnet-beta.solana.com",
42+
"https://solana-api.projectserum.com"
43+
]
44+
},
45+
"sms_apis": {
46+
"twilio": {
47+
"key": "",
48+
"sid": ""
49+
},
50+
"nexmo": {
51+
"key": "",
52+
"secret": ""
53+
},
54+
"plivo": {
55+
"key": "",
56+
"secret": ""
57+
},
58+
"messagebird": {
59+
"key": ""
60+
}
61+
},
62+
"email_validation": {
63+
"hunter_io": {
64+
"key": ""
65+
},
66+
"zerobounce": {
67+
"key": ""
68+
},
69+
"neverbounce": {
70+
"key": ""
71+
}
72+
}
73+
}

0 commit comments

Comments
 (0)