Skip to content

Latest commit

 

History

History
84 lines (65 loc) · 3.77 KB

README.md

File metadata and controls

84 lines (65 loc) · 3.77 KB

LinkID Go Report Card

The LinkID blockchain system is an AES encryption enhanced Blockchain system for MediLink to ensure secure containment and transfer of medical records.

Contributions

The LinkID blockchain system was originally created and programmed by me as a subsystem of the MediLink project for the 2024 San Diego Big Data Hackathon.

The original repository is licensed under MIT with my name (Shuban Pal) and acts as an archive. Although MediLink is now inactive, I wish to update LinkID further. Active updates and changes will now go to this repository which is still licensed under the MIT license with my name.

All my preceding commits and contributions prior to this version can be found on the archive repository HERE

Usage

Usage: ./linkid [OPTION1] [ARGUMENT1] ... [OPTIONn] [ARGUMENTn]


Options:
  -c, Create a new blockchain with the provided JSON file.
                -E, Save the output as JSON
  -a, Access an existing blockchain with the provided ID and key.
                -E, Save the output as JSON
  -A, Add a new block to an existing blockchain with the provided ID and key.

Format:
  ./linkid -c <GENESIS.json>
  ./linkid -a <ID> <KEY>
  ./linkid -A <BLOCK.json> <ID> <KEY>

Examples:
  ./linkid -c genesis.json
  ./linkid -a 12345678 1234567890abcdef1234567890abcdef
  ./linkid -A block.json 12345678 1234567890abcdef1234567890abcdef

Makefile Variables for OS (GOOS)

Common Operating System configurations for compiling the LinkID source code via Makefile. If you want to compile the code on an operating system not listed below, please check out this list for a list of valid GOOS and GOARCH combinations.

Linux (default) 🐧

OS=linux

MacOS 🍎

OS=darwin

Windows 🪟

OS=windows

Makefile Variables for ARCH (GOARCH)

GOARCH Variable Processor Name 32-bit 64-bit
ARCH=386 Intel 386
ARCH=amd64 AMD64
ARCH=amd64p32 AMD64 (32-bit)
ARCH=arm ARM
ARCH=arm64 ARM64
ARCH=arm64be ARM64 (big-endian)
ARCH=armbe ARM (big-endian)
ARCH=loong64 Loongson 64-bit
ARCH=mips MIPS
ARCH=mips64 MIPS64
ARCH=mips64le MIPS64 (little-endian)
ARCH=mips64p32 MIPS64 (32-bit)
ARCH=mips64p32le MIPS64 (32-bit little-endian)
ARCH=mipsle MIPS (little-endian)
ARCH=ppc PowerPC
ARCH=ppc64 PowerPC 64
ARCH=ppc64le PowerPC 64 (little-endian)
ARCH=riscv RISC-V
ARCH=riscv64 RISC-V 64
ARCH=s390 IBM System/390
ARCH=s390x IBM System/390x
ARCH=parc SPARC
ARCH=sparc64 SPARC64
ARCH=wasm WebAssembly