Louis Singer
ff96524f22
Ark Notes ( #379 )
...
* ark credits
* rename "ecash" --> "ark credit"
* rework note_test.go
* NewFromString
* create several notes
* note repo: rename "push" to "add"
* RegisterInputsForNextRoundRequest: move "notes" to field #3
* use uint64 as note ID
* rename to voucher
* add nostr notification
* nostr notification test and fixes
* bump badger to 4.3
* allow npub to be registered
* rename poolTxID
* add default relays
* Update server/internal/config/config.go
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
* fix RedeemVouchers test
* notification = voucher
* WASM wrappers
* fix arkd voucher cmd
* test_utils.go ignore gosec rule G101
* fix permissions
* rename ALL to notes
* add URI prefix
* note.go : fix signature encoding
* fix decode note.Data
* Update server/internal/infrastructure/notifier/nostr/nostr.go
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com >
* Update pkg/client-sdk/wasm/browser/wrappers.go
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com >
* Update server/internal/infrastructure/notifier/nostr/nostr.go
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com >
* rework note and entity db + sqlite implementations
* NOTIFICATION_PREFIX -> NOTE_URI_PREFIX
* validate NOTE_URI_PREFIX
* Update defaults to convenant-less mainnet (#2 )
* config: defaults to convenant-less tx builder
* Drop env var for blockchain scanner
---------
Co-authored-by: altafan <18440657+altafan@users.noreply.github.com >
* add // before URI prefix
* add URI prefix in admin CreateNote
* Fixes
* rework nonces encoding (#4 )
* rework nonces encoding
* add a check in Musig2Nonce decode function
* musig2_test: increase number of signers to 20
* musig2.json: add a test case with a 35 leaves tree
* GetEventStream REST rework
* fix round phases time intervals
* [SDK] Use server-side streams in rest client
* Fix history
* make the URI optional
* Updates
* Fix settled txs in history
* fix e2e test
* go work sync in sdk unit test
* fix signMessage in btc and liquid sdk wallets
---------
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com >
2024-11-15 19:07:33 +01:00
Pietralberto Mazza
5c2065ad47
Make change of async payment spendable ( #324 )
...
* Drop unused ComputeOutputScript & use ParseTaprootScript internally
* Add pending field to vtxo domain
* Add check to handle async change as claimed vtxo & Move check to prevent spending penidng vtxos to app level
* Rename utils.go to parser.go & Fixes
* Ignore sent-and-reversible vtxos in ListVtxos
* Fixes
Co-authored-by: Louis Singer <louisinger@users.noreply.github.com >
* Fix e2e test
Co-authored-by: Louis Singer <louisinger@users.noreply.github.com >
Co-authored-by: João Bordalo <bordalix@users.noreply.github.com >
* Fix
* Add PendingChange field to vtxo
* Add PendingChange field to Transaction
* Fixes
* Remove logs
---------
Co-authored-by: Louis Singer <louisinger@users.noreply.github.com >
Co-authored-by: João Bordalo <bordalix@users.noreply.github.com >
2024-09-19 19:44:22 +02:00
Pietralberto Mazza
9d2e84cc9c
chore: go work sync ( #305 )
2024-09-11 23:03:43 +02:00
Louis Singer
0fb34cb13d
Dynamic min-relay-fee and dust amount ( #280 )
...
* [btc-embedded] add chainfee.Estimator and extraAPI interfaces
* dynamic fee amount
* dynamic dust amount
* [client] fix linter errors
* [domain] fix unit tests
* [server] return dust amount in GetInfo RPC
* [sdk] fix lnd dependencie
* go work sync
* fix witness stack size forfeit tx size estimator
* remove hardcoded fee values in covenant txbuilder
* lower liquid feerate
* fix after reviews
* go work sync
2024-09-10 17:22:09 +02:00
Marco Argentieri
1b0252f3e4
Migrate to Go Workspaces ( #243 )
...
* api-spec: move the api-spec to root and init go.mod
* go mod tidy
* move buf files in the root as well
* gh action for api-spec changes only
* gh action for api-spec on push and pr
* introduce go.work and remove all replaces
* solve dependencies and force btcd/btcec@v2.3.3
* go work sync
* force btcd/btcec@v2.3.3
* go mod tidy
2024-08-13 03:27:41 +02:00
Pietralberto Mazza
57ce08f239
Support macaroons and TLS && Add arkd wallet cmds ( #232 )
...
* Update protos
* Update handlers
* Support macaroons and TLS
* Add arkd cli
* Minor fixes
* Update deps
* Fixes
* Update makefile
* Fixes
* Fix
* Fix
* Fix
* Remove trusted onboarding from client
* Completely remove trusted onboarding
* Fix compose files and add --no-macaroon flag to arkd cli
* Lint
* Remove e2e for trusted onboarding
* Add sleep time
2024-08-09 17:59:31 +02: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