Files
ark/client
Dusan Sekulic 1f42843a69 Add first version of client SDK (#193)
* Add gRPC, REST, and gRPC-Web clients for server access

This commit introduces clients for gRPC, REST, and gRPC-Web to access the server.

- gRPC client: Includes additional argument opts ...grpc.CallOption in the interface for future extensibility.
- REST client: Factory function accepts http.Client as an argument to allow user customization.
- gRPC-Web client: Added a Log method for fast debugging in JavaScript.

The decision to use different interfaces for each client type is to accommodate specific features and extensibility requirements for each protocol.

* remove grpc web

* generate rest

* use grpc sdk in CLI

* temp wasm

* ark sdk

* renaming

* pr review refactor

* pr review refactor

* walletStore & configStore

* ark sdk wasm wrapper

* handle event stream with rest

* wip on supporting rest

* store init

* simulate event stream with rest

* fix rest sdk wip

* Fix returning forfeit txs in round event

* wasm first working e2e example

* pr review refactor

* pr review refactor

* pr review refactor

* Fixes

---------

Co-authored-by: altafan <18440657+altafan@users.noreply.github.com>
2024-07-18 16:27:14 +02:00
..
2024-05-01 16:14:02 +02:00
2024-02-28 18:05:03 +01:00
2024-05-01 16:14:02 +02:00
2024-07-18 16:27:14 +02:00
2024-07-18 16:27:14 +02:00
2024-05-01 16:14:02 +02:00
2024-05-01 16:14:02 +02:00
2024-02-09 19:32:58 +01:00
2024-04-27 03:22:41 +02:00
2024-05-01 16:14:02 +02:00
2024-05-01 16:14:02 +02:00
2024-05-01 16:14:02 +02:00
2024-05-01 16:14:02 +02:00
2024-05-01 16:14:02 +02:00

Ark CLI

Ark CLI is a command line interface for the Ark wallet. It is written in Go and provides a variety of commands to interact with the Ark wallet.

Requirements

  • Go 1.16 or higher

Installation

To install Ark CLI, you need to have Go installed on your machine. Once Go is installed, you can build and install Ark CLI using the following command:

alias ark='go run main.go'

Usage

You can use Ark CLI by running the ark command followed by the command you want to execute. Here's the general usage:

ark [global options] command [command options] [arguments...]

For more information about each command, you can run ark help <command> to get detailed help for the command.

Version

The current version of Ark CLI is alpha stage.