All Projects → pegnet → pegnetd

pegnet / pegnetd

Licence: other
The pegnet daemon to track txs, conversions, etc

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to pegnetd

v-switch
Virtual Encrypted Switch across the network, using UDP + AES + TAP
Stars: ✭ 27 (+107.69%)
Mutual labels:  daemon
npshell
Command line music queue manager. A music player from the comfort of your own shell.
Stars: ✭ 15 (+15.38%)
Mutual labels:  daemon
dohd
Very fast DNS-over-HTTPS to DNS proxy with emphasis on privacy (no logging)
Stars: ✭ 14 (+7.69%)
Mutual labels:  daemon
mpv-trakt-sync-daemon
Python daemon that scrobbles watch progress from https://mpv.io to https://trakt.tv
Stars: ✭ 41 (+215.38%)
Mutual labels:  daemon
GChan
Scrape boards and threads from 4chan (8kun WIP). Downloads images, videos and HTML if desired.
Stars: ✭ 31 (+138.46%)
Mutual labels:  daemon
bustd
Process killer daemon for out-of-memory scenarios
Stars: ✭ 182 (+1300%)
Mutual labels:  daemon
ShellRemoteBot
Shell remote control from telegram (SSH/terminal emulator)
Stars: ✭ 28 (+115.38%)
Mutual labels:  daemon
Minerva-Debugger
Providing a great interface to the iOS kernel, hardware, threads and processes in a great research environment. (WIP)
Stars: ✭ 23 (+76.92%)
Mutual labels:  daemon
funcd
Daemon for functional keys (works without X11)
Stars: ✭ 14 (+7.69%)
Mutual labels:  daemon
php-daemon
Easily daemonize PHP scripts
Stars: ✭ 70 (+438.46%)
Mutual labels:  daemon
rescrobbled
MPRIS music scrobbler daemon
Stars: ✭ 152 (+1069.23%)
Mutual labels:  daemon
vps host server
VPS Hosting Server Daemon for provisioning, monitoring, and communications with the central system.
Stars: ✭ 12 (-7.69%)
Mutual labels:  daemon
gon2n
Go bindings, management daemons and CLIs for n2n edges and supernodes.
Stars: ✭ 67 (+415.38%)
Mutual labels:  daemon
final-pm
Finally a good node.js process manager.
Stars: ✭ 21 (+61.54%)
Mutual labels:  daemon
SampleOSXLaunchDaemon
A simple launch daemon for macOS which communicates with a client application via XPC
Stars: ✭ 37 (+184.62%)
Mutual labels:  daemon
hasses
Hyper's Asynchronous Server Sent event (SSE) notification Server
Stars: ✭ 18 (+38.46%)
Mutual labels:  daemon
Swatch
Watcher for Unit Tests written in Swift
Stars: ✭ 55 (+323.08%)
Mutual labels:  daemon
riemann-sumd
Agent for scheduling event generating processes and sending the results to Riemann
Stars: ✭ 48 (+269.23%)
Mutual labels:  daemon
rsync
gokrazy rsync
Stars: ✭ 308 (+2269.23%)
Mutual labels:  daemon
haaukins
A Highly Accessible and Automated Virtualization Platform for Security Education
Stars: ✭ 148 (+1038.46%)
Mutual labels:  daemon

pegnetd

A light weight daemon that executes the PegNet protocol on Factom chains and maintains balances for addresses.

Note: This program is intended to be temporary and will be replaced when PegNet is integrated into the Factom Asset Tokens daemon. Usage and JSON-RPC functions are being written as similarly as possible to fatd in an effort to minimize friction during that switchover period.

Building From Source

Ensure that Golang 1.13 or later is installed. The latest official release of Golang is always recommended.

Clone the project and build the binary:

$ git clone https://github.com/pegnet/pegnetd
$ cd pegnetd
$ go build

If successful, there will now be a pegnetd executable file in the working directory.

Configuration

By default pegnetd will search $HOME/.pegnetd/pegnetd-conf.toml or ./pegnetd-conf.toml for your config file. The default config file is in the root directory of this repo, and can be copied to your home folder. Alternatively the --config pegnetd-conf.toml can also be specified.

Once you have your config in place, running pegnetd will begin syncing to the current network your factomd is on.

Running

To start the daemon, run: $ ./pegnetd --log=debug using your preferred log verbosity level.

To exit pegnetd, send a SIGINT (commonly done by pressing <ctrl> + <c> within the terminal).

Running in Development

To run in development, the --testing flag will set the activation heights to 0, and grading versions to 2. So if you have a local factomd running, you can do the following:

# Assuming you have `pegnet` installed for mining and factom + factom-walletd running
cd $GOPATH/src/github.com/pegnet/pegnet
cd initialization
go build
# Get some entry credits to build the initial chains
./fundEC.sh
./initialization

# Now we can run a miner to get us some rates (you will need to configure a miner)
pegnet --testing --top 50 --miners 1 --log debug

# Now you have a chain to read and can run the node
pegnetd --testing --log debug

RPC API Documentation

// TODO: add documentation around how to use the RPC API, keeping it as close to fatd as possible

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].