nyks

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2023 License: MIT

README

Nyks

Due to asynchronous nature of Bitcoin, natural forking is commonplace though not as common as other POWs with faster block time. To follow the canonical chain with highest cumulative work, network participants follow the majority opinion of honest full nodes, not the miner, of they think bitcoin is. To be certain if a transaction is valid or subject to reorg, some organisations go extra mile, run multiple bitcoin nodes, check block validation rules, even check inflation rules to be really really sure etc.

Note: Please ensure you have installed nodejs

Validity gadget is a synchronous predictive validity layer on top of Nakamoto Consensus, where honest committee members dynamically vote on their view of the chain and propose a valid view of the chain tips, based on some validity heuristics.

To preview and run the project on your device:

Nyks is built over Tendermint BFT, where every validator runs a forkscanner and forkoracle instance.

Local Setup

To run a local setup, first clone and compile forkscanner and forkoracle and run them, respectively!

  • Nyks is made using ignite cli, install ignite as per instructions.
  • After cloning you can simply run ignite chain serve or for the release binary you can use ignite chain build --release

Participating in the testnet

You will need nyks tokens to stake, the easiest way is to get in touch using our discord as faucet is being setup at the moment!

  1. Open project folder in Visual Studio Code
  2. In the terminal, run npm install
  3. Run npm start to view project in browser

Directories

Path Synopsis
cmd
testutil
nullify
Package nullify provides methods to init nil values structs for test assertion.
Package nullify provides methods to init nil values structs for test assertion.
x
bridge/types
Package types is a reverse proxy.
Package types is a reverse proxy.
forks/types
Package types is a reverse proxy.
Package types is a reverse proxy.
volt/types
Package types is a reverse proxy.
Package types is a reverse proxy.
zkos/types
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL