Skip to content

Commit

Permalink
revert config
Browse files Browse the repository at this point in the history
  • Loading branch information
okedeji committed Jul 20, 2024
1 parent 18cbec5 commit 18a8869
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,52 +3,52 @@ import fs from 'fs'
import { Wallet, utils } from 'ethers';

// const mnemonic_path= './secret/{{.rootValues.alloraAccountSecretName}}'
const mnemonic = "window ..."
const mnemonic = "varioy"
console.log("==================================================================")
console.log(`faucet mnemonic: ${mnemonic.substring(0, 15)} ...`)
console.log(`faucet mnemonic: ${mnemonic.substring(1, 15)} ...`)

export default {

"port": 8000, // http port
"db": {
"path": `./faucet.db` // db for frequency checker(WIP)
},
"project": {
"name": "Allora testnet-1",
"logo": "https://s3.amazonaws.com/assets.allora.network/logo.svg",
"deployer": '<a href="https://allora.network">Allora</a>'
},
blockchains: [
"port": 8000, // http port
"db": {
"path": `./faucet.db` // db for frequency checker(WIP)
},
"project": {
"name": "Allora Edgenet", // What ever you want, recommend: chain-id,
"logo": "https://s3.amazonaws.com/assets.allora.network/logo.svg",
"deployer": '<a href="https://allora.network">Allora</a>'
},
blockchains: [
{
name: "allora-testnet-1",
endpoint: {
// make sure that CORS is enabled in rpc section in config.toml
// cors_allowed_origins = ["*"]
rpc_endpoint: "https://allora-rpc.testnet-1.testnet.allora.network",
},
sender: {
mnemonic,
option: {
hdPaths: [stringToPath("m/44'/118'/0'/0/0")],
prefix: "allo" // human readable address prefix
}
},
tx: {
amount: [
name: "edgenet",
endpoint: {
// make sure that CORS is enabled in rpc section in config.toml
// cors_allowed_origins = ["*"]
rpc_endpoint: "https://allora-rpc.edgenet.allora.network",
},
sender: {
mnemonic,
option: {
hdPaths: [stringToPath("m/44'/118'/0'/0/0")],
prefix: "allo" // human readable address prefix
}
},
tx: {
amount: [
{ denom: "uallo", amount: "1000000000" },
],
fee: {
amount: [{ denom: "uallo", amount: "1000" }],
gas: "200000",
},
},
limit: {
// how many times each wallet address is allowed in a window(24h)
address: 2,
// 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: 20
}
],
fee: {
amount: [{ denom: "uallo", amount: "500" }],
gas: "200000",
},
},
limit: {
// how many times each wallet address is allowed in a window(24h)
address: 2,
// 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: 20
}
},
]
}
]
}

0 comments on commit 18a8869

Please sign in to comment.