client

command module
v0.0.0-...-131d397 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2020 License: MIT Imports: 16 Imported by: 0

README

karaiclient

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

karai-demo

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 Client

go build

./client

Connect to a Karai Channel

./client
# Launch the client

connect 167.71.104.172:4200
# connect <ip.ip.ip.ip:port>

Send A Transaction

./client
# Launch the client

connect 167.71.104.172:4200
# connect <ip.ip.ip.ip:port>
# Connect to a channel.

send 167.71.104.172:4200 new.json
# send <ip.ip.ip.ip:port> <file.json>
# ./config/transaction/file.json

A note on transactions

Note: A transaction can be a JSON object or arbitrary data. If the message contents do not pass JSON validation, they get hex encoded and sent as a string of bytes.

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" && ./client

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL