Repository navigation
Expand file tree
/
Copy pathconfig.js
More file actions
47 lines (47 loc) · 1.47 KB
/
Copy pathconfig.js
File metadata and controls
47 lines (47 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
export default {
port: 8668, // http port
db: {
path: "./db/faucet.db" // save request states
},
project: {
name: "Fairyring",
logo: "https://pbs.twimg.com/profile_images/1674527932956409860/ja7Woiz6_400x400.jpg",
deployer: `<a href="https://fairblock.network" target="_blank">Fairblock</a>`
},
blockchain: {
name: "fairyring-testnet-3",
endpoint: {
// make sure that CORS is enabled in rpc section in config.toml
// cors_allowed_origins = ["*"]
rpc: "https://testnet-rpc.fairblock.network",
api: "https://testnet-api.fairblock.network"
},
addressPrefix: "fairy",
sender: {
accountName: "faucet",
keyRingPass: "your_password"
},
tx: [
{
amount: {
denom: "ufairy",
amount: "3000000"
},
fee: {
amount: [],
gas: "200000"
},
}
],
currencies: [
{ coinDenom: "FAIRY", coinDecimals: 6, coinMinimalDenom: "ufairy" },
],
limit: {
// how many times each wallet address is allowed in a window(24h)
address: 3,
// how many times each ip is allowed in a window(24h),
// if you use proxy, double check if the req.ip is return client's ip.
ip: 3
}
},
}