An open API service indexing awesome lists of open source software.

https://github.com/open-web3-stack/boka

JAM built with Swift
https://github.com/open-web3-stack/boka

Last synced: 8 months ago
JSON representation

JAM built with Swift

Awesome Lists containing this project

README

          

# 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.