Files
ark/docker-compose.regtest.yml
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

51 lines
1005 B
YAML

version: "3.7"
services:
oceand:
container_name: oceand
image: ghcr.io/vulpemventures/oceand:latest
restart: unless-stopped
user: 0:0
environment:
- OCEAN_LOG_LEVEL=5
- OCEAN_NO_TLS=true
- OCEAN_NO_PROFILER=true
- OCEAN_ELECTRUM_URL=tcp://electrs-liquid:50001
- OCEAN_NETWORK=regtest
- OCEAN_UTXO_EXPIRY_DURATION_IN_SECONDS=60
- OCEAN_DB_TYPE=badger
ports:
- "18000:18000"
arkd:
container_name: arkd
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
depends_on:
- oceand
environment:
- ARK_WALLET_ADDR=oceand:18000
- ARK_ROUND_INTERVAL=10
- ARK_NETWORK=regtest
- ARK_LOG_LEVEL=5
- ARK_ROUND_LIFETIME=512
- ARK_DB_TYPE=sqlite
ports:
- "8080:6000"
volumes:
oceand:
external: false
ocean:
external: false
arkd:
external: false
ark:
external: false
networks:
default:
name: nigiri
external: true