Louis Singer
5dba216a98
Congestion tree validation ( #84 )
...
* add common/pkg/tree validation
* update noah go.mod
* cleaning and fixes
* fix builder_test.go
* Fix deferred func
* fix even number of vtxos in congestion tree
---------
Co-authored-by: altafan <18440657+altafan@users.noreply.github.com >
2024-01-23 15:38:43 +01:00
Louis Singer
3407fd277a
Forfeit transactions: signing process ( #81 )
...
* sign forfeit transactions
* revert txid + move SignVtxos func
* Fix nolint
* Fix
* fix connectorsToInputArgs function
---------
Co-authored-by: altafan <18440657+altafan@users.noreply.github.com >
2024-01-18 17:17:23 +01:00
Pietralberto Mazza
f037622b91
Fix tests ( #82 )
2024-01-18 16:47:11 +01:00
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
b438eb638f
Make receivers flag optional ( #76 )
2024-01-10 12:39:05 +01:00
tiero
46a85816ff
improve roadmap
2023-12-30 02:19:40 +01:00
tiero
a3b335a6bc
improve roadmap
2023-12-30 02:18:30 +01:00
tiero
bf76d977e2
Improve Roadmap page
2023-12-29 23:43:12 +01:00
Pietralberto Mazza
d9a450c229
Add flag for single receiver ( #75 )
2023-12-29 17:48:01 +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
Marco Argentieri
022bc67ab8
Add Roadmap page ( #74 )
2023-12-28 19:40:16 +01:00
Pietralberto Mazza
1bf808c96a
Hotfix address derivation ( #71 )
2023-12-20 16:55:00 +01:00
Pietralberto Mazza
a2d8149692
Hotfix GetRound validation check ( #67 )
2023-12-18 14:48:47 +01:00
João Bordalo
dec11f9773
hot fix: timelocks on nomenclature
2023-12-15 16:37:52 +00:00
Marco Argentieri
8b0f1d0a54
blog: improve wording ( #66 )
...
* blog: improve wording
* blog: improve wording
* blog: capitalize Money velocity
* blog: capitalize Money velocity
2023-12-14 15:54:42 +01:00
Marco Argentieri
141533aa49
blog: use right date ( #65 )
2023-12-14 15:39:30 +01:00
Marco Argentieri
c0ca6415bb
enabled blog ( #63 )
2023-12-14 15:22:24 +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
51bc673e66
Add covenant-based congestion tree ( #62 )
...
* covenant based tx builder
* remove relative time delta
* txbuilder/covenant add leaf boolean in node
* txbuilder/covenant final version
* support covenantType
* add GetLeafOutputScript
* remove printLn
* fix linting
* Update asp/internal/app-config/config.go
Co-authored-by: João Bordalo <bordalix@users.noreply.github.com >
Signed-off-by: Louis Singer <41042567+louisinger@users.noreply.github.com >
---------
Signed-off-by: Louis Singer <41042567+louisinger@users.noreply.github.com >
Co-authored-by: João Bordalo <bordalix@users.noreply.github.com >
2023-12-14 14:02:37 +01:00
Louis Singer
325ef38197
Fix propagation of RoundFailed events ( #60 )
2023-12-12 15:46:43 +01:00
Pietralberto Mazza
6d00ee280c
Fix dangling payments ( #58 )
2023-12-12 15:11:25 +01:00
Pietralberto Mazza
3985bd4e14
Cleanup & Add config and launcher ( #57 )
...
* Fixes
* Fixes to domain layer:
* Add Leaf bool field to know to fix the returned list of leaves
* Add non-persisted UnsignedForfeitTxs to RoundFinalizationStarted
* Store only error msg when round fails instead of full error
* Fix wallet interface:
* Add Close() to close conn with wallet
* Add GetAsset() to fix missing asset err when calling Transfer()
* Fix gocron scheduler to correctly run/build the project
* Fix badger repo implementation:
* Fix datadirs of projection stores
* Return error if current round not found
* Fix round event deserialization
* Fix TxBuilder interface & dummy impl:
* Pass asp pubkey as arg of the defined functions
* Fix connectorsToInputArgs to return the right number of ins
* Fix getTxid() to return the id of an hex encoded tx too
* Fix createConnectors() to return a tx if there's only 1 connector
* Add leaf bool field to psetWithLevel in case a leaf is not in the last level
* Fix node's isLeaf() check
* Move to hex encoded pubkeys instead of ark encoded
* Fix app layer:
* Add Start() and Stop() to the interface & Expect raw pubkeys instead of strings as args
* Source & cache pubkey from wallet at startup
* Drop usage of scheduler and schedule next task based on occurred round events
* Increase verbosity
* Use hex instead of ark encoding to store receveirs' pubkeys
* Lower faucet amount from 100k to 10k sats in total
* Fix finalizeRound() to persist round events even if it failed
* Add view() to forfeitTxMap to enrich RoundFinalizationEvent with unsigned forfeit txs
* Add app config
* Fix interface layer:
* Remove repo manager from handler factory
* Fix GetEventStream to forward events to stream once they arrive from app layer
* Return missing unsigned forfeit txs in RoundFinalizationEvent
* Fix extracting user pubkey from address
* Add log interceptors
* Add config struct
* Add factory
* Clean interface
* Add config and launcher
* Tidy deps & Set defaut round interval to 30secs for dev mode
2023-12-12 14:55:22 +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
Louis Singer
5a5167c40c
[noah] Add pubkey and network to state ( #46 )
2023-12-08 14:50:33 +01:00
João Bordalo
4df605aff1
Update payments.md
2023-12-08 06:35:24 +00:00
Marco Argentieri
88755a3320
website: hide non-ready pages and add non-coop exit in Leaving the Ark ( #48 )
2023-12-07 16:41:42 +01:00
tiero
419f21dc82
remove blog
2023-12-06 14:06:13 +01:00
João Bordalo
d3431fce87
changes to reflect covenant Ark ( #44 )
...
* changes to reflect covenant Ark
* Update website/docs/learn/boarding.md
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
* Update website/docs/learn/nomenclature.md
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
* Update website/docs/learn/nomenclature.md
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
* Update website/docs/learn/nomenclature.md
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
* Update website/docs/learn/boarding.md
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
* Update website/docs/learn/boarding.md
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
* Update website/docs/learn/boarding.md
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
* Update website/docs/learn/boarding.md
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
* Update website/docs/learn/boarding.md
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
* Update website/docs/learn/boarding.md
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
* Update website/docs/learn/boarding.md
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
* Update website/docs/learn/boarding.md
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
* Update website/docs/learn/nomenclature.md
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
* Uses mermaid to show transactions
* Uses mermaid instead of image to represent shared output
* Last fix, let's go
* comsetic change: add Boarding before with
---------
Signed-off-by: João Bordalo <bordalix@users.noreply.github.com >
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
2023-12-06 13:24:59 +01:00
Louis Singer
a17aba8356
Noah CLI implementation ( #42 )
...
* Import stubs
* send and balance cmd implementations
* ListVtxos & faucet
* main.go: add faucetCommand
* fix after review
* send: continue if no forfeits included in current round
* remove cov in noah/Makefile
* fancy printJSON
* remove rpc_url
---------
Co-authored-by: altafan <18440657+altafan@users.noreply.github.com >
2023-12-06 12:57:35 +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
376d62f44b
Add operator cli ( #41 )
2023-12-05 14:25:10 +01:00
João Bordalo
0dd5479f1f
adds mermaid support ( #40 )
2023-12-04 17:58:24 +01:00
Marco Argentieri
9421560a13
reclaim > claim ( #38 )
2023-12-04 17:57:41 +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
João Bordalo
6344005785
Merge pull request #34 from ark-network/titles
...
change 2 titles: don't repeat 'Ark' on link previews
2023-12-01 17:23:50 +00:00
João Bordalo
947bdad40e
change 2 titles: don't repeat 'Ark' on link previews
2023-12-01 17:23:19 +00:00
João Bordalo
594b25eb9e
Merge pull request #33 from ark-network/fix_metadata
...
Fix metadata
2023-12-01 17:13:32 +00:00
João Bordalo
a6f8b4b93b
Remove all usages of <head>, it transpiles to other pages
...
Sort markdown front matter in alphabetical order
Add 'description' front matter to blog index and blog post
Set blog title and description on docusaurus.config
2023-12-01 17:09:09 +00:00
Pietralberto Mazza
46d54a227d
Unit tests ( #32 )
...
* unit tests
* Fix makefile
* Fix race conditions
* Renaming
2023-12-01 17:50:42 +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
João Bordalo
7c2a70db91
Merge pull request #31 from ark-network/move_img
...
move blog post image to static/img
2023-12-01 13:03:06 +00:00
João Bordalo
eec463e2f0
move blog post image to static/img
2023-12-01 13:02:38 +00:00
João Bordalo
9115af82d1
Merge pull request #30 from ark-network/blog_post_metadata
...
Blog post metadata
2023-12-01 12:52:51 +00:00
João Bordalo
f05eee00ab
use real name as author
2023-12-01 12:45:58 +00:00
João Bordalo
6fa8951b5d
Fix og:image url
...
Fix og:image:width
Add extra metatags for author and reading time
2023-12-01 12:43:53 +00:00
João Bordalo
6ed24cb4ac
reduze file size
2023-12-01 12:43:15 +00:00
João Bordalo
369e6c9f81
reduce image size
2023-12-01 12:16:23 +00:00
Marco Argentieri
e0bd26f992
docs: various improvements ( #28 )
...
* more improvements
* md fixes
* improve boarding wording
* improve blog desc
* add developers section
* imrpove links
* fix edit links
* Update website/docusaurus.config.js
Co-authored-by: João Bordalo <bordalix@users.noreply.github.com >
Signed-off-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
* Update website/blog/2023-11-10-liquidity-requirements/index.md
Co-authored-by: João Bordalo <bordalix@users.noreply.github.com >
Signed-off-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
* Update website/docs/intro.md
Co-authored-by: João Bordalo <bordalix@users.noreply.github.com >
Signed-off-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
* Update website/docs/intro.md
Co-authored-by: João Bordalo <bordalix@users.noreply.github.com >
Signed-off-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
* fix JSX
* add ark banner as og-image of website
* add og:image
---------
Signed-off-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Co-authored-by: João Bordalo <bordalix@users.noreply.github.com >
2023-12-01 13:07:23 +01:00