junction

module
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0

README

Junction

Welcome to Junction, a blockchain platform focused on secure and efficient data management. It features custom execution layers, batch processing, and a democratic validator system.

Features

  • Blockchain Initialization: Custom 'air' address prefix, streamlined project structure.
  • Execution Layer Enhancements: 'Exelayer' for validators and voting power, dynamic management, and robust queries.
  • Verification Key Management: Efficient 'vkey' type for managing lengthy verification keys.
  • Batch Processing Mechanics: 'batch_min' and 'batch_max' structures, robust batch handling, and detailed query functions.
  • Validator Management: 'Poll' system for democratic validator selection, comprehensive management messages, and detailed poll information queries.

Getting Started

Prerequisites
Installation
1. Clone the repository
git clone https://github.com/airchains-network/junction.git
2. Navigate to the project directory
cd junction
3. Switch to the DevNet Release
git checkout v0.0.1-beta
4. Set Environment Variable

Add the path /Users/<your_pc_username>/go/bin to your environment variables for easy access to 'Junction'. Replace <your_pc_username> with your actual PC username.

5. Initialize the Chain
ignite chain init
6. Delete the Existing Configuration Folder

Remove the folder ~/.junction if it exists.

rm -rf ~/.junction
7. Initialize the Node with the Moniker
junctiond init <moniker>
8. Update Genesis Configuration

Replace the contents of ~/.junction/config/genesis.json with the contents from the docs/node/genesis.json file.

cp docs/node/genesis.json ~/.junction/config/genesis.json
9. Update Configuration
  1. Edit ~/.junction/config/config.toml to set persistent_peers:
persistent_peers = "009075e1d1b0989ab2d0563c9e7454eb6c320772@35.200.232.241:26656"
10. Start the Node
junctiond start

Directories

Path Synopsis
app
cmd
junctiond command
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
junction/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