config.local.js 924 Bytes
/* eslint valid-jsdoc: "off" */

'use strict';

/**
 * @param {Egg.EggAppInfo} appInfo app info
 */
module.exports = appInfo => {
  const config = exports = {};
  config.ed25519Address = 'DFy6P2sN1KLDNtppnqLBPWcnH8GTJRouGj'; // 旧网接收钱包地址
  // config.naclAddress = 'D3EFYncByWwzsSQvRsVbufBfmVstuf11QW'; // 新网转账钱包地址
  config.naclSecret = 'puzzle elite rescue gun blush top floor surge injury popular pole inquiry';  // 新网转账钱包秘钥
  // config.ed25519Url = 'http://120.24.69.99:8001'; // 旧网节点地址
  config.naclUrl = 'http://8.142.20.158:8001'; // 新网节点地址
  // config.naclUrl = 'http://localhost:8001'; // 测试地址
  config.ed25519NetHash = 'b11fa2f2';// 旧网nethash
  config.naclNetHash = '0ab796cd'; // 新网nethash
  // add your user config here
  const userConfig = {
    // myAppName: 'egg',
  };

  return {
    ...config,
    ...userConfig,
  };
};