Annchain.OG is a DAG based decentralized ledger and Dapp platform
Last updated Jun 10, 2025
58
Stars
16
Forks
8
Issues
0
Stars/day
Attention Score
33
Topics
Language breakdown
Go 78.6%
C 15.6%
Solidity 2.7%
Assembly 0.8%
Sage 0.7%
Python 0.7%
▸ Files
click to expand
README
OG
OG is a dag based decentralized ledger and Dapp platform.
Insatallation
Get code from github:go get github.com/annchain/OG
Build the project:
cd $GOPATH/src/github.com/annchain/OG
make og
The node will be built in build directory
Running
# running og by loading config file from local filesystem :
./og -c config.toml run
running og by loading config file from remote http server :
./og -c http://127.0.0.1:8532/og_config run
running og by assigning log output path:
./og -c config.toml -l log_path/ run
Other og commands:
-c, --config string Path for configuration file or url of config server (default "config.toml") -d, --datadir string Runtime directory for storage and configurations (default "data") -h, --help help for OG -l, --log_dir string Path for configuration file. Not enabled by default -v, --log_level string Logging verbosity, possible values:[panic, fatal, error, warn, info, debug] (default "debug") -n, --loglinenumber write log with line number -s, --log_stdout Whether the log will be printed to stdout -m, --multifilebylevel split log into multiple files by level -M, --multifilebymodule split log into multiple files by module
Usage
RPC
Users can call the node's functions through RPC interface. The default URL address for RPC is localhost:8000, which is set in the default config file. You can switch the port by changing the value of key [rpc].port in config file.
For more details of each RPC API, you can check document: https://github.com/annchain/OG/blob/dev/rpc/doc.md
Development
Please be aware that OG is under heavy refactor(under layer-p2p).
License
🔗 More in this category