mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 12:44:19 +01:00
* add sqlite db * add .vscode to gitignore * add vtxo repo * add sqlite repos implementations * add sqlite in db/service * update go.mod * fix sqlite * move sqlite tests to service_test.go + fixes * integration tests using sqlite + properly close statements * implement GetRoundsIds * add "tx" table to store forfeits, connectors and congestion trees * add db max conn = 1 * upsert VTXO + fix onboarding * remove json tags * Fixes * Fix * fix lint * fix config.go * Fix rm config & open db only once * Update makefile --------- Co-authored-by: altafan <18440657+altafan@users.noreply.github.com>
Ark Server
This is a Go implementation of an Ark Service Provider (ASP). An ASP it's an always-on server that provide Bitcoin liquidity to the Ark protocol. It's built using the Elements introspection opcodes and currently supports Elements as chain of deployment.
This is in an early phase of development, the goal is to experiment with many possibile use-cases of Ark and adapt quickly based on user feedback early on.
ALPHA STAGE SOFTWARE: USE AT YOUR OWN RISK!
Development
Prerequisites
Build Server
make build
Run the server
go run ./cmd/arkd
Refer to config.go for the available configuration options via ENV VARs.