Louis Singer
01297ae38c
Add support for covenant-less ASP ( #214 )
...
* scaffolding wallet
* remove wallet db, add loader instead
* wip
* implement some wallet methods
* signing and utxos
* renaming
* fee estimator
* chain source options
* config
* application service
* clark docker-compose
* CLI refactor
* v0 clark
* v0.1 clark
* fix SignTapscriptInput (btcwallet)
* wallet.Broadcast, send via explora
* fix ASP pubkey
* Use lnd's btcwallet & Add rpc to get wallet staus
* wip
* unilateral exit
* Fixes on watching for notifications and cli init
* handle non-final BIP68 errors
* Fixes
* Fixes
* Fix
* a
* fix onboard cosigners + revert tree validation
* fix covenant e2e tests
* fix covenantless e2e tests
* fix container naming
* fix lint error
* update REAME.md
* Add env var for wallet password
---------
Co-authored-by: altafan <18440657+altafan@users.noreply.github.com >
2024-07-30 20:57:52 +02:00
Louis Singer
9fc49d9f08
Add AdminService ( #176 )
...
* add admin service
* go mod tidy
* fix linter: grpc.Dial
* fix ocean get balance
* fix linter
* add .vscode to gitignore
* rework admin balance API
* fix mockedwallet in covenantless pkg
* make proto
2024-05-31 15:46:46 +02:00
Louis Singer
329ba555db
Covenant-less TxBuilder ( #178 )
...
* initial commit
* wip
* add bitcointree pkg in common
* add bitcoin txbuilder
* fix BuildPoolTx test
* fix sweeper
* v0 musig2 congestion tree
* bitcointree: add signatures support
* add Makefile in common
* fix lint
* fix go.mod and TxBuilder
* go mod tidy
* rename "pset" --> "psbt"
* add GetSweepInput method in TxBuilder
* fix extractSweepLeaf (bitcoin tx builder)
2024-05-31 12:49:52 +02:00
Louis Singer
b5bac540ef
Use connectors utxos from swept rounds ( #167 )
...
* use connectors utxos from swept rounds
* revert docker-compose.regtest.yml
* add gitignore
* fix integration tests
2024-05-29 14:34:35 +02:00
Louis Singer
f1b83bd522
Add expireAt member in ListVtxo RPC ( #160 )
2024-05-01 16:42:13 +02:00
Louis Singer
852756eaba
Add integration tests and regtest support ( #128 )
...
* regtest support + integration tests (e2e)
* add integration CI
* add PR trigger on integration CI
* wait for ocean to be unlocked at startup
* integration tests: add tests flags and build docker images at startup
* use nigiri chopsticks-liquid
* fix after reviews
* Update client/init.go
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com >
Signed-off-by: Louis Singer <41042567+louisinger@users.noreply.github.com >
* do not trigger integration on PR
---------
Signed-off-by: Louis Singer <41042567+louisinger@users.noreply.github.com >
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com >
2024-04-19 18:57:13 +02:00
Louis Singer
066e8eeabb
Prevent getting cheated by broadcasting forfeit transactions ( #123 )
...
* broadcast forfeit transaction in case the user is trying the cheat the ASP
* fix connector input + --cheat flag in CLI
* WIP
* cleaning and fixes
* add TODO
* sweeper.go: mark round swept if vtxo are redeemed
* fixes after reviews
* revert "--cheat" flag in client
* revert redeem.go
* optimization
* update account.go according to ocean ListUtxos new spec
* WaitForSync implementation
* ocean-wallet/service.go: remove go rountine while writing to notification channel
2024-03-04 13:58:36 +01:00
Pietralberto Mazza
1650ea5935
Support onboarding & Drop faucet ( #119 )
...
* Renaming
* Add server-side support for onboarding
* add onboard --amount command
* support client side onboarding
* Drop dummy tx builder
* Drop faucet
* Fixes
* fix public key encoding
* fix schnorr pub key check in validation
* fix server/README to accomodate onboarding
---------
Co-authored-by: Louis <louis@vulpem.com >
Co-authored-by: João Bordalo <bordalix@users.noreply.github.com >
2024-02-23 16:24:00 +01:00
Louis Singer
a95a829b20
Delay unilateral exit and support send to onchain address ( #117 )
...
* add delay on redeem close + forfeit close
* increase default round lifetime (16 minutes min)
* add sequence to final pset
* update CLI and server to support delayed vtxos oncahin
* rename future to "locked"
* add configurable EXIT_DELAY variable
* renaming
* rename "close" --> "closure"
* rename "close" to "closure"
* error message config.go
2024-02-22 16:47:52 +01:00
Pietralberto Mazza
dc00d60585
Rename folders ( #97 )
...
* Rename arkd folder & drop cli
* Rename ark cli folder & update docs
* Update readme
* Fix
* scripts: add build-all
* Add target to build cli for all platforms
* Update build scripts
---------
Co-authored-by: tiero <3596602+tiero@users.noreply.github.com >
2024-02-09 19:32:58 +01:00