ark-network / ark

Ark is a layer-two protocol designed to scale Bitcoin transactions
https://arkdev.info
MIT License
58 stars 16 forks source link

[client] Support bitcoin networks #185

Closed altafan closed 1 month ago

altafan commented 3 months ago

We need a Bitcoin version of the current CLI.

We should move everything inside client/ to client/covenant and add the new version to client/covenantless.

If we can reuse something, we can put in in client/common.

tiero commented 3 months ago

Do we really need to have two different executables?

Can't we handle in the same interface? After the client connects (ie GetInfo) to the ASP, will know about which network and which protocol & script type to be used? We switch wallet impl locally and use the different RPCs

altafan commented 3 months ago

Correct, the CLI already has a network config param, doesn't make sense to split

louisinger commented 1 month ago

closed by https://github.com/ark-network/ark/pull/214