Skip to content

Releases: karai/coordinator

0.22.0

08 Oct 22:19
982b98e

Choose a tag to compare

karaicoordinator

Discord GitHub issues GitHub stars Build GitHub GitHub issues by-label Go Report Card

Website: 📝 karai.io Browse: 💻 Karai Pointer Explorer Read: 🔗 Official Karai Blog

Usage

Note: Karai aims to always compile and run on Linux targetting the AMD64 CPU architecture. Other operating systems and architectures may compile and run this software but should do so expecting some inconsistencies.

Launch Karai Coordinator

make postgres

make migrate

make karai

Deprecated> For optimal transaction speed as coordinator:

Deprecated> When skipping the write process, you are taking some risk if Karai crashes before you write transactions to disk. You can write your transactions to disk with the wt command.

./go-karai -coordinator -write=false

To place graph objects in a different directory:

./go-karai -coordinator -graphDir="/literal/path/to/graph/"

Launch Options

 Usage of ./go-karai:
  -apiport int
        Port to run Karai Coordinator API on. (default 4200)
  -batchDir string
        Path where batched transactions should be saved (default "./graph/batch")
  -chunkSize int
        Number of transactions per batch on disk. (default 100)
  -clean
        Clear all peer certs and graph objects
  -consume
        Consume data from sources.
  -graphDir string
        Path where graph objects should be saved (default "./graph")
  -matrix
        Enable Matrix functions. Requires -matrixToken, -matrixURL, and -matrixRoomID
  -matrixRoomID string
        Room ID for matrix publishd events
  -matrixToken string
        Matrix homeserver token
  -matrixURL string
        Matrix homeserver URL
  -write
        Write each graph object to disk. (default true)

Type menu to view a list of functions. Functions that are darkened are disabled.

Dependencies

Operating System

Karai supports Linux on AMD64 architecture, but may compile in other settings. Differences between Linux and non-Linux installs should be expected.

Optional: Compile with all errors displayed, then run binary. Avoids "too many errors" from hiding error info.

go build -gcflags="-e" && ./go-karai

Contributing

This repo only receives stable version release updates, development happens in a private repo. Please make an issue before writing code for a PR.

  • MIT License
  • gofmt
  • go modules
  • stdlib > *

Thanks to:

turtlecoin
IPFS
LibP2P
GOLANG

0.19.9

26 Jul 18:05
8f4be45

Choose a tag to compare

karai_github_banner

Discord GitHub issues GitHub stars Build GitHub GitHub issues by-label Go Report Card

Website: 📝 karai.io Browse: 💻 Karai Pointer Explorer Read: 🔗 Official Karai Blog

Usage

Note: Karai aims to always compile and run on Linux targetting the AMD64 CPU architecture. Other operating systems and architectures may compile and run this software but should do so expecting some inconsistencies.

Launch Karai

As coordinator:

./go-karai -coordinator

As client:

./go-karai

For quickly purging transactions and certs while developing:

./go-karai -clean

For optimal transaction speed as coordinator:

When skipping the write process, you are taking some risk if Karai crashes before you write transactions to disk. You can write your transactions to disk with the wt command.

./go-karai -coordinator -write=false

To place graph objects in a different directory:

./go-karai -coordinator -graphDir="/literal/path/to/graph/"

Launch Options

  -apiport int
    	Port to run Karai Coordinator API on. (default 4200)
  -clean
    	Clear all peer certs and graph objects
  -coordinator
    	Run as coordinator.
  -matrix
    	Enable Matrix functions. Requires -matrixToken, -matrixURL, and -matrixRoomID
  -matrixRoomID string
    	Room ID for matrix publishd events
  -matrixToken string
    	Matrix homeserver token
  -matrixURL string
    	Matrix homeserver URL
  -write
    	Write each graph object to disk. (default true)

Type menu to view a list of functions. Functions that are darkened are disabled.

Dependencies

Operating System

Karai supports Linux on AMD64 architecture, but may compile in other settings. Differences between Linux and non-Linux installs should be expected.

Building

git clone https://github.com/karai/go-karai

cd go-karai

go mod init github.com/karai/go-karai

go build && ./go-karai

Optional: Compile with all errors displayed, then run binary. Avoids "too many errors" from hiding error info.

go build -gcflags="-e" && ./go-karai

Contributing

  • MIT License
  • gofmt is used on all files.
  • go modules are used to manage dependencies.

Thanks to:

turtlecoin
IPFS
LibP2P
GOLANG

0.17.4

12 Jul 01:16
74d027a

Choose a tag to compare

.gitignore (#33)

0.16.2

04 Jul 00:50
b89f9ec

Choose a tag to compare

Dont use this. Sending transactions and subgraph construction are not complete. Wallet API functions are disabled while Wallet API transaction structure is rewritten.

Channel connection and peer management now work though, via ed25519 certs.

0.7.2

23 May 19:48
b773350

Choose a tag to compare

karai_github_banner

Discord GitHub issues GitHub stars Build GitHub GitHub issues by-label Go Report Card

Tech: 📝 WHITEPAPER.md Browse: 💻 Karai Pointer Explorer Read: 🔗 Official Karai Blog

v0.7.2

This is a testing release that brings SSL, CORS, and other alleged improvements.

Usage

Launch Karai in Linux & MacOS

./go-karai

Launch Karai in Windows

go-karai.exe

Type menu to view a list of functions. Functions that are darkened are disabled.

Dependencies

Operating System

Karai is made in Linux. Other operating systems work but may produce subtle visual differences from what you see in screenshots.

  • Linux
  • MacOS (Need testers)
  • BSD (Need testers)
  • Windows
    • Note: Windows requires Git BASH for proper color rendering Download

Building

Note: These build instructions should run on any OS. Some Windows users will need to modify the libp2p init line to properly use inline environment variables

git clone https://github.com/karai/go-karai

cd go-karai

go mod init github.com/karai/go-karai

go build && ./go-karai

Optional: Compile with all errors displayed, then run binary. Avoids "too many errors" from hiding error info.

go build -gcflags="-e" && ./go-karai // or compile with full errors

Contributing

  • MIT License
  • gofmt is used on all files.
  • go modules are used to manage dependencies.

Thanks to:

turtlecoin
IPFS
LibP2P
GOLANG