Skip to content

open-web3-stack/boka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boka

Boka / 波卡 / bō kǎ: A JAM implementation built with Swift, brought to you by Laminar Labs.

Development Environment

  • Install tools and deps
    • macos: brew install swiftlint swiftformat rocksdb openssl
    • linux: apt-get install librocksdb-dev libzstd-dev libbz2-dev liblz4-dev libssl-dev
  • Precommit hooks: make githooks
  • Pull submodules: git submodule update --init --recursive
  • Setup deps: make deps

Packages

  • Boka
    • The CLI entrypoint. Handles CLI arg parsing and launch Node with corresponding config.
  • Node
    • The API for the blockchain node. Provide API to create various components and assemble the blockchain node.
  • Blockchain
    • Implements the data structure, state transform function and consensus. Used by Node.
  • RPC
    • Provide the RPC interface for the blockchain node. Uses Blockchain and used by Boka.
  • Database
    • Provide the database interface for the blockchain node. Used by Node.
  • Networking
    • Provide the networking interface for the blockchain node. Used by Node.
  • Utils
    • Provide the common utilities for the blockchain node.