const cryppt_config = {
    KEY: 'NENET_CRYPT_KEY',
    KEY_IV: 'NENET_CRYPT_IV',
}


const timer_config = {
    OPEN_TIMED_COLLECT_COINS:false
} 

const account_config = {
    WELLET_PRIVATE_KEY: '4Uz4Jm7Xd1gH+1nFbR0B7hk1ITmsT8O3iAgS/hC0L9TkrqAZoklsQhXl4fA1X+uqpckF4HtnXnMpwng94GvvzsRfXYirfDfboneuzfc0o7s=',
    WELLET_PUBLIC_KEY: '0xAD48D13E77011cFE03fF19729B6A247847AfD28E',
    TOKEN_GAS_LIMIT: '80000',
    BNB_GAS_LIMIT: '21000',
    BNB_GAS_PRICE: '10000000000',
}

const reids_token_config = {
    TOKENPRICE: 'TOKENPRICE',
    TOKENWITHDRAW: 'TOKENWITHDRAW',
    GASPRICE: "GASPRICE",
}
// 设置数据库配置文件
const db_config = {
    // 数据库配置
    mysql: {
        DATABASE: 'user_address',   //数据库名称
        TABLENAME: 'user_key_manage',   //表名
        USERNAME: 'root',   //用户名
        PASSWORD: '123456', //密码
        PORT: '3306', //连接的端口
        HOST: '127.0.0.1' //host
    },
    redis: {
        PORT: 6379, // Redis port
        HOST: "r-bp1ps6my7lzg8rdhwxpi.redis.rds.aliyuncs.com", // Redis host
        USERNAME: null,
        PASSWORD: "Wqsd@2019"
    },
}

// 设置 moralis sdk 配置文件
const moralis_config = {
    SERVER_URL: "https://1frf5yebfh6r.usemoralis.com:2053/server",
    APP_ID: "oSwDtyD9f4GD6XPZgfDCRHPqXrm2pvBUCTv2N0X8",
    MASTER_KEY: "YbEUAR49HwBZ8R6Q8eNTNfwtStPFPcCYehJQkYcl",
    MORALIS_SECRET: "BGlDVjy7054iLDpDcdc9AbH65rZrhj8QIhsThcwF6thNzTnbS2ft8XmM70x4jOpU",
    DEFAULT_PRIVATE_KEY: "6084c2a5e39fa83d5a119c3a864a442e77287f4b03bad93cef38ec5f44bca630",
}

module.exports = {
    db_config,
    moralis_config,
    reids_token_config,
    account_config,
    timer_config,
}

