Package 'ShinyBlock'

Title: Multi-Protocol Blockchain Simulator and Enterprise Ledger Framework
Description: An interactive framework for simulating blockchain protocols using a hybrid 'R-Shiny' and 'Python' architecture. The package provides tools to visualize peer-to-peer network maps, manage supply chain logistics on-chain, and execute cross-border settlements via smart contract logic. It leverages the 'reticulate' package to perform standardized cryptographic operations, including 'SHA-256' hashing, 'Merkle' Tree construction, and 'ECDSA' (Elliptic Curve Digital Signature Algorithm) key generation. This tool is designed for pedagogical demonstration and rapid prototyping of distributed ledger requirements.
Authors: Isaac Osei [aut, cre], Yamini Alakunta [aut]
Maintainer: Isaac Osei <[email protected]>
License: MIT + file LICENSE
Version: 0.1.3
Built: 2026-06-11 18:27:46 UTC
Source: https://github.com/cran/ShinyBlock

Help Index


Install Python Dependencies

Description

Creates an isolated virtual environment and installs the required 'ecdsa' library to support asymmetric key generation.

Usage

install_blockchain_deps()

Value

No return value, called for side effects to configure the 'Python' environment.

Examples

if (interactive()) {
  install_blockchain_deps()
}

Launch the Blockchain Protocol Simulator

Description

Initializes the Python cryptographic environment and launches the interactive 'ShinyBlock' dashboard application inside the default web browser.

Usage

launch_blockchain()

Value

No return value, called for side effects to launch the 'Shiny' application.

Examples

if (interactive()) {
  launch_blockchain()
}