Giveth / giveth-1-simulation

Generating giveth 1 whole state by processing network events
GNU General Public License v3.0
7 stars 0 forks source link

CI/CD

Note: Please use develop branch for contributing.

This project runs to fix conflicts between the Giveth-Feathers DB and network ( smart contracts)

Table of content

Getting Started

Install

Run Script

  1. create a folder named config, and put develop.json in that with these data
{
  "mongodb": "mongodb://localhost:27017/giveth-develop",
  "givethFeathersUrl": "https://feathers.develop.giveth.io",
  "logDir": "data/log",
  "cacheDir": "data/cache",
  "logLevel": "info",
  "dryRun": false,
  "emailReport": false,
  "emailSimulationError": false,
  "givethMaintainersEmail":["mranjbar.z2993@gmail.com"],
  "givethDevMailList": [
    "mranjbar.z2993@gmail.com"
  ],
  "dappMailerUrl": "Giveth dapp mailer url",
  "dappMailerSecret": "SECRET NOT IN DEFAULT.JSON",
  "blockchain": {
    "requiredConfirmations": 6,
    "nodeUrl": "wss://rinkeby.eth.aragon.network/ws",
    "homeNodeUrl": "wss://ropsten.infura.io/ws/v3/{SECRET GET THIS FROM infura.io}",
    "liquidPledgingAddress": "0xf0e0F5A752f69Ee6dCfEed138520f6821357dc32",
     "vaultAddress": "0x2F3788a772D6eCCEbed68D760284e7f84Af3D492"

  },
  "tokenWhitelist": [
    {
      "name": "Ropsten ETH",
      "address": "0x0",
      "foreignAddress": "0x387871cf72c8CC81E3a945402b0E3A2A6C0Ed38a",
      "symbol": "ETH",
      "decimals": 6
    },
    { "name": "MiniMe Test Token",
      "address": "0xE690E380740a682E2b8CEAEa33584Ea2cb59849E",
      "foreignAddress": "0xe1DA0672bDBdBc469E82cCACCe9e4c7C79dAF6cf",
      "symbol": "XDAI",
      "decimals": 3,
      "rateEqSymbol": "DAI"
    }
  ]

}
  1. npm run build This transpile the project and generate an index.js
  2. npm run start:develop

What do this project