Commit Graph

10 Commits

Author SHA1 Message Date
Louis Singer
cf78fc1ab3 Add support for unilateral exit (#79)
* v0 unilateral redemption

* add fee outputs to congestion tree

* unilateral exit

* rework unilateral exit verbosity

* substract fee from vtxo amount

* remove unused functions and variables

* fix after reviews

* Update noah/explorer.go

Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com>
Signed-off-by: Louis Singer <41042567+louisinger@users.noreply.github.com>

* remove bufferutils

---------

Signed-off-by: Louis Singer <41042567+louisinger@users.noreply.github.com>
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com>
2024-01-16 14:13:47 +01:00
Pietralberto Mazza
d150c4bbac Add support for collaborative redemption of vtxos & Changes to ark wallet (#72)
* Add internal support for collaborative exit

* Update protos and interface layer

* Fixes after proto updates

* Fix printing json & Do not print ark pubkey in config

* Add collaborative redeem command

* Polish

* Add address validation

* Fix building tree without right branch

* Fixes and validation checks

* Fixes

* Fix counting complete queued payments

* Add relays

* Add and compute onchain balance concurrently

* Tiny refactor

* Merge `config connect` into `init` cmd
2023-12-29 17:09:50 +01:00
Pietralberto Mazza
317b3273a8 Create ark account if not existing at startup (#61)
* Create ark account if not existing at startup

* Fixes
2023-12-14 15:13:33 +01:00
Louis Singer
e5df6cfc39 Change congestion tree represenation (#50)
* add domain.CongestionTree + modify ports.TxBuilder

* rename Node members

* improve txbuilder testing

* congestion tree as matrix in protobuf spec

* compile stubs & update grpc handlers

* fix proto specs

* application/service.go use node.Txid field
2023-12-08 18:45:40 +01:00
Louis Singer
8d7b934f46 Dockerize buf (#51)
* dockerized buf

* Remove build-buf

* fix CI

* buf-lint-action revert version

* buf lint in CI

---------

Co-authored-by: altafan <18440657+altafan@users.noreply.github.com>
2023-12-08 16:03:00 +01:00
Pietralberto Mazza
7bcdff0d2a Add endpoint to fetch pubkey & Require wallet already unlocked when starting the service (#43)
* Add endpoint to fetch pubkey & simplify ports.Wallet

* Lint
2023-12-05 17:45:38 +01:00
Pietralberto Mazza
554eaeb406 Add explorer-like endpoint to retrieve spendable vtxos for address (#37)
* Add GetSpendableVtxosWithId to repo

* Add endpoint to retrieve spendable vtxos
2023-12-04 17:28:01 +01:00
Pietralberto Mazza
9e9e61fb89 Add Faucet endpoint (#36)
* Add internal methods for faucet feature

* Add grpc handler

* Lint
2023-12-04 16:40:56 +01:00
Louis Singer
c8d9db89c5 Add interface layer (#23)
* implement grpc interface

* rework GetEventStream rpc

* implement Ping & GetEventStream

* remove dev_portal

* Compile protos

* Empty gitignore

---------

Co-authored-by: altafan <18440657+altafan@users.noreply.github.com>
2023-12-01 17:13:28 +01:00
Pietralberto Mazza
0210d39866 Monorepo scaffolding (#16)
* Change scaffolding

* Fix gh action
2023-11-27 14:23:22 +01:00