All Projects → pegnet → pegnet

pegnet / pegnet

Licence: MIT license
pegnet.org

Programming Languages

go
31211 projects - #10 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to pegnet

Myna Parser
Myna Parsing Library
Stars: ✭ 69 (+68.29%)
Mutual labels:  peg
Guido blog translation
翻译 Guido 的解析器系列文章
Stars: ✭ 200 (+387.8%)
Mutual labels:  peg
kiuatan
A parser library for Pony.
Stars: ✭ 15 (-63.41%)
Mutual labels:  peg
Ts Pegjs
Plugin for pegjs to generate TypeScript parsers.
Stars: ✭ 76 (+85.37%)
Mutual labels:  peg
Mad
⚡ MAD: Manage Dependencies
Stars: ✭ 175 (+326.83%)
Mutual labels:  peg
raabro
a Ruby PEG parser library
Stars: ✭ 31 (-24.39%)
Mutual labels:  peg
3bmd
markdown processor in CL using esrap parser
Stars: ✭ 58 (+41.46%)
Mutual labels:  peg
parson
Yet another PEG parser combinator library and DSL
Stars: ✭ 52 (+26.83%)
Mutual labels:  peg
Pest
The Elegant Parser
Stars: ✭ 2,783 (+6687.8%)
Mutual labels:  peg
phaser-manifest-loader
Phaser Manifest Loader
Stars: ✭ 28 (-31.71%)
Mutual labels:  asset
Pegtl
Parsing Expression Grammar Template Library
Stars: ✭ 1,295 (+3058.54%)
Mutual labels:  peg
Pegparser
💡 Build your own programming language! A C++17 PEG parser generator supporting parser combination, memoization, left-recursion and context-dependent grammars.
Stars: ✭ 164 (+300%)
Mutual labels:  peg
AssetLens
Asset Lens : Unity asset reference management utility working in background. 에디터 백그라운드에서 관리되는 유니티 에셋 파일 레퍼런스 데이터 도구.
Stars: ✭ 47 (+14.63%)
Mutual labels:  asset
Erd Go
Translates a plain text description of a relational database schema to a graphical entity-relationship diagram.(convert to dot file)
Stars: ✭ 76 (+85.37%)
Mutual labels:  peg
factom-api
Python client library for the Factom API
Stars: ✭ 21 (-48.78%)
Mutual labels:  factom
Codemirror Grammar
Transform a JSON grammar into a syntax-highlight parser for CodeMirror
Stars: ✭ 67 (+63.41%)
Mutual labels:  peg
Ohm
A library and language for building parsers, interpreters, compilers, etc.
Stars: ✭ 3,938 (+9504.88%)
Mutual labels:  peg
pyrser
A PEG Parsing Tool
Stars: ✭ 32 (-21.95%)
Mutual labels:  peg
peggy
Peggy: Parser generator for JavaScript
Stars: ✭ 444 (+982.93%)
Mutual labels:  peg
flutter resource generator
Generate an R file for mapping all assets. Supports preview of image.
Stars: ✭ 69 (+68.29%)
Mutual labels:  asset


Build Status Discord Coverage Status License

A Network of Pegged Tokens

This is the main repository for the PegNet application.

Pegged tokens reflect real market assets such as currencies, precious metals, commodities, cryptocurrencies etc. The conversion rates on PegNet are determined by a decentralized set of miners who submit values based on current market data. These values are recorded in the Factom blockchain and then graded based upon accuracy and mining hashpower.

The draft proposal paper is available here.

For any questions, troubleshooting or further information head to discord.

Mining

Requirements

Setup

Create a .pegnet folder inside your home directory. Copy the config/defaultconfig.ini file there.

On Windows this is your %USERPROFILE% folder

Linux example:

mkdir ~/.pegnet
wget https://raw.githubusercontent.com/pegnet/pegnet/master/config/defaultconfig.ini -P ~/.pegnet/
  • Sign up for an API Key from https://currencylayer.com, replace APILayerKey in the config with your own

  • Replace either ECAddress or FCTAddress with your own

  • Modify the IdentityChain name to one of your choosing.

  • Have a factomd node running on mainnet.

  • Have factom-walletd open

  • Start Pegnet

On first startup there will be a delay while the hash bytemap is generated. Mining will only begin at the start of each ten minute block.

Contributing

  • Join Discord and chat about it with lovely people!

  • Run a testnet node

  • Create a github issue because they always exist.

  • Fork the repo and submit your pull requests, fix things.

Development

Docker guide can be found here for an automated solution.

Manual Setup

Install the factom binaries

The Factom developer sandbox setup overview is here, which covers the first parts, otherwise use below.

# In first terminal
# Change blocktime to whatever suits you 
factomd -blktime=120 -network=LOCAL

# Second Terminal
factom-walletd

# Third Terminal
fa='factom-cli importaddress Fs3E9gV6DXsYzf7Fqx1fVBQPQXV695eP3k5XbmHEZVRLkMdD9qCK'
ec='factom-cli newecaddress'
factom-cli listaddresses # Verify addresses
factom-cli buyec $fa $ec 100000
factom-cli balance $ec # Verify Balance

# Fork Repo on github, clone your fork
git clone https://github.com/<USER>/pegnet

# Add main pegnet repo as a remote
cd pegnet
git remote add upstream https://github.com/pegnet/pegnet

# Sync with main development branch
git pull upstream develop 

# Initialize the pegnet chain
cd initialization
go build
./initialization

# You should be ready to roll from here
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].