You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
arnaucode fe164456fb sankey in frontend works, added logs system, added getLastTx in backend and frontend 6 years ago
web sankey in frontend works, added logs system, added getLastTx in backend and frontend 6 years ago
.gitignore sankey in frontend works, added logs system, added getLastTx in backend and frontend 6 years ago
LICENSE Initial commit 6 years ago
README.md sankey in frontend works, added logs system, added getLastTx in backend and frontend 6 years ago
addressTree.go finished generation of network map of address history (back in blockchain) 6 years ago
dateAnalysis.go date and hour analysis added 6 years ago
errors.go sankey in frontend works, added logs system, added getLastTx in backend and frontend 6 years ago
exploreBlockchain.go date and hour analysis added 6 years ago
goBlockchainDataAnalysis01.png Sankey data generated in backend, not yet showed correctly in frontend 6 years ago
goBlockchainDataAnalysis02.png Sankey data generated in backend, not yet showed correctly in frontend 6 years ago
goBlockchainDataAnalysis04.png date and hour analysis added 6 years ago
goBlockchainDataAnalysis05.png sankey in frontend works, added logs system, added getLastTx in backend and frontend 6 years ago
instructions.md added origin node, upgraded webapp with angularbootstrapmaterial and better files distribution 6 years ago
ipFilter.go added server, route Get NetworkMap, added save to mongodb Nodes and Edges 6 years ago
log.go sankey in frontend works, added logs system, added getLastTx in backend and frontend 6 years ago
main.go sankey in frontend works, added logs system, added getLastTx in backend and frontend 6 years ago
mongoModels.go date and hour analysis added 6 years ago
mongoOperations.go finished generation of network map of address history (back in blockchain) 6 years ago
readConfig.go gets blocks and tx values 6 years ago
serverConfig.go added server, route Get NetworkMap, added save to mongodb Nodes and Edges 6 years ago
serverRoutes.go sankey in frontend works, added logs system, added getLastTx in backend and frontend 6 years ago

README.md

goBlockchainDataAnalysis

blockchain data analysis, written in Go

goBlockchainDataAnalysis

goBlockchainDataAnalysis

goBlockchainDataAnalysis

goBlockchainDataAnalysis

Install

  1. Nodejs & NPM https://nodejs.org/
  2. MongoDB https://www.mongodb.com/
  3. Faircoin wallet https://download.faircoin.world/
  4. goBlockchainDataAnalysis https://github.com/arnaucode/goBlockchainDataAnalysis

Configure

  • Wallet /home/user/.faircoin2/faircoin.conf:
rpcuser=usernamerpc
rpcpassword=password
rpcport=3021
rpcworkqueue=2000
server=1
rpcbind=127.0.0.1
rpcallowip=127.0.0.1
  • goBlockchainDataAnalysis/config.json:
{
    "user": "usernamerpc",
    "pass": "password",
    "host": "127.0.0.1",
    "port": "3021",
    "genesisTx": "7c27ade2c28e67ed3077f8f77b8ea6d36d4f5eba04c099be3c9faa9a4a04c046",
    "genesisBlock": "beed44fa5e96150d95d56ebd5d2625781825a9407a5215dd7eda723373a0a1d7"
}

Run

  1. Start MongoDB
sudo service mongod start
  1. Start wallet
./faircoind -txindex -reindex-chainstate
  1. Run explorer, to fill the database
./goBlockchainDataAnalysis -explore
3.1. The next runs, once the database have data, can just run:
./goBlockchainDataAnalysis
  1. Run the webserver, in the /web directory
npm start

Webapp will run on 127.0.0.1:8080

Additional info