Pietralberto Mazza
fb64bd35d8
Support connectors validation client-side & Minor fixes ( #126 )
...
* Validate connectors client-side when sending offchain
* Minor fixes
* validate connector input in forfeit txs
---------
Co-authored-by: Louis <louis@vulpem.com >
2024-03-05 13:04:32 +01: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
6d0d03e316
Cleanup ( #121 )
...
* Cleanup common
* Cleanup client
* Cleanup server
* Renamings
* Tidy up proto
* Update ocean protos
* Fixes
* Fixes
2024-02-28 18:05:03 +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
Louis Singer
936f9c5f51
Drop useless encoding ( #110 )
...
* drop asec private key encoding
* remove pubkey/relaykey/url encoding in common pkg
* fix pubkey encoding
* remove SecKey
2024-02-20 17:35:11 +01:00
Louis Singer
b8e0914ba9
[Client] Add vtxo expiration details to balance & Fix coin selection
...
* add expiry details in balance command
* coin selection: sort vtxos by olderFirst
* rename type
* balance: add next expiration
* add next expiration in offchain_balance json
* print duration in nextExpiration
* fix dust coin selection
* refactor sort
2024-02-20 17:10:18 +01:00
João Bordalo
7c528daef7
Add README to server ( #106 )
...
* adds readme to ark/server
* Update server/README.md
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
* Update server/README.md
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
* Update server/README.md
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
---------
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com >
2024-02-19 15:06:21 +01:00
Pietralberto Mazza
bcd66d7ae7
Fixes ( #107 )
2024-02-13 17:38:55 +01:00
Pietralberto Mazza
99961d9fd5
Update event and projection stores in sync ( #102 )
2024-02-12 14:07:15 +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