From 18a886942de15b822f3e46e7d44768adb2e47bde Mon Sep 17 00:00:00 2001 From: Tobi Okedeji Date: Sat, 20 Jul 2024 19:08:16 +0100 Subject: [PATCH] revert config --- config/config.js | 84 ++++++++++++++++++++++++------------------------ 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/config/config.js b/config/config.js index a8f4d74..393dd59 100644 --- a/config/config.js +++ b/config/config.js @@ -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": 'Allora' - }, - 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": 'Allora' + }, + 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 + } }, - ] -} \ No newline at end of file + ] +}