Giter Site home page Giter Site logo

ruesandora / forta-node-tr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from forta-network/forta-node

47.0 1.0 27.0 2.58 MB

Forta Network Node Kurulumu

Home Page: https://forta.org

License: Other

Shell 2.87% JavaScript 0.39% Go 95.88% Makefile 0.55% Dockerfile 0.31%

forta-node-tr's Introduction

Build

forta-node

Forta node CLI is a Docker container supervisor that runs and manages multiple services and detection bots (agents) to scan a blockchain network and produce alerts.

Running a Node

For information about running a node, see the Scan Node Quickstart Documentation

Scan Node Development

Dependencies

  1. Install Docker and start Docker service
  2. Install Go

Dependencies for local development

Tools

Install Protobuf Compiler.

Go libraries

$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc 
$ go install github.com/golang/mock/[email protected]

Build and install

Full build & install using local version of Go

$ make install

For a faster iteration in local development, it is sufficient to build the common service container only if it has changed. The CLI requires forta-network/forta-node:latest containers to be available by default and uses the local ones if other Docker image references were not specified at the compile time.

CLI-only build using the local version of Go

$ go build -o forta .

CLI-only build using a specific version of Go

Edit Go image version at build stage inside Dockerfile.cli and then:

$ make main

Run the node

Run

$ forta init # if you haven't initialized and configured your Forta directory yet
$ forta run

View logs

CLI logs are made available via stdout. Logs for the rest of the node services and agents can be inspected by doing:

$ docker ps # see the running containers from here
$ docker logs -f <container_id>

Stop

CTRL-C

forta-node-tr's People

Contributors

canercidam avatar haseebrabbani avatar stevenlanders avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.