Bitcoin Forum
June 23, 2024, 02:58:45 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Ark: An Alternative Privacy-preserving Second Layer Solution  (Read 441 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 7606


Protocols over bureaucrats


View Profile
May 27, 2023, 07:51:27 PM
Merited by Quickseller (5), LoyceV (4), d5000 (1), hugeblack (1)
 #1

In 22nd of May, Burak Keceli sent an email to the bitcoin-dev mailing list, describing an alternative second layer solution which is far more scalable, private, requires no interactivity and does not introduce liquidity constraints; essentially superior to lightning in every aspect. It consumes much less space on-chain, works like Chaumian eCash without being a central point of failure, and makes use of shared transaction outputs. To enable anonymous, scalable and off-chain transactions, it uses virtual transaction outputs (or vTXO).

It is in very early stage, and the team behind desperately needs Bitcoin developers willing to work on it.

Overview of Ark: https://www.arkpill.me/
Technical details: https://www.arkpill.me/deep-dive
Introductory email: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2023-May/021694.html

What do you think.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
NotATether
Legendary
*
Offline Offline

Activity: 1638
Merit: 6909


bitcoincleanup.com / bitmixlist.org


View Profile WWW
May 28, 2023, 04:35:45 AM
 #2

The developer reason for developing it was as a result of his issue with lightning network
Quote
I’m working on a new lightning wallet. It removes pretty much all friction lightning currently faces:
1.Backups
2.Interactivity
3.Offline receiving
4.Receiver privacy
5.On-chain footprint

well if that's the case then let's join forces  Cheesy I am coincidentally also working on a Lightning wallet (as long as it is written in Python as development of the wallet core has already begun).

Quote
The only downside is that Ark require users to come online and "refresh" their coins every few weeks, otherwise the ASP can sweep the funds.
is this the side effect of removing on-chain footprint?

Not really a downside as a "watchtower" program can be made that inputs your wallet password and the refreshing date in the future, which is stored with AES encryption in memory.

The key to this cipher is the time stored in ISO 8601 format as a byte string. It is promptly discarded from memory.

Every second, the watchtower will attempt to decrypt the cipher using the current ISO 8601 time looking like "YYYY-mm-ddTHH:MM:SS" as the key.

Naturally this will only succeed at the requisite time at which the wallet is to be unlocked - following which the coins inside the ASP can be refreshed.

If at any point you come online, you can simply terminate the watchtower program, and the encrypted wallet password will be destroyed and nobody will be able to use it unless they also know the unlock time, even if they have hacked the watchtower on a later date after the timer has started. But the unlock time has already been discarded after it was used to encrypt the wallet password, meaning the deleted copy of the encrypted password is now unrecoverable.

This particular part is my own design, not Burak's. I haven't told him about this yet.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
vjudeu
Hero Member
*****
Offline Offline

Activity: 744
Merit: 1745



View Profile
May 28, 2023, 07:04:47 AM
Merited by NotATether (5), BlackHatCoiner (4), hugeblack (3), ABCbits (2), garlonicon (2)
 #3

Quote
Every second, the watchtower will attempt to decrypt the cipher using the current ISO 8601 time looking like "YYYY-mm-ddTHH:MM:SS" as the key.
This key would be very weak, you could use 64-bit UNIX timestamp, and it would be as weak as well (but then, at least it will be resistant to timezone issues).

Quote
nobody will be able to use it unless they also know the unlock time, even if they have hacked the watchtower on a later date after the timer has started
Not really. Your program will need to decrypt it for every second, so your decryption could not take more time than that. The simplest way of getting the current time, and trying to decrypt it, can cause it to never be decrypted, if you will be unlucky, and your process will have a lower priority for a few seconds, when it should be decrypted.

Another thing is, any attacker could scan it faster than one decryption per second, it could do 1000 decryptions per second, and reach it sooner. Also, if there will be some default locking time, for example two weeks, and the attacker will know that some file on your server was created one week ago (by checking metadata), then it will use one week offset, and scan only a range of time, and then will get to the solution much faster than the official algorithm.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
garlonicon
Hero Member
*****
Offline Offline

Activity: 819
Merit: 1984


View Profile
May 28, 2023, 09:54:54 AM
 #4

Quote
Not really a downside as a "watchtower" program can be made that inputs your wallet password and the refreshing date in the future, which is stored with AES encryption in memory.
If you can use transaction locktime field or OP_CHECKLOCKTIMEVERIFY/OP_CHECKSEQUENCEVERIFY, then it will be better. If not, then this is the proper way of doing that: https://gwern.net/self-decrypting
cryptosize
Sr. Member
****
Offline Offline

Activity: 1680
Merit: 332


View Profile
May 28, 2023, 07:43:00 PM
Merited by Synchronice (1)
 #5

The 1 million dollar question: does it have franky's Seal of Approval? Grin

On a serious note, I'm not sure I understood how it works... maybe someone needs to write an ELI5. Lightning is very simple to understand if you know how BGP routing works.

Is Ark centralized? I read some caveats about double-spending on their FAQ. Huh

Also, the fact they don't accept BTC donations via Ark is a bit worrying... it seems they don't trust it enough yet.
paid2
Hero Member
*****
Offline Offline

Activity: 728
Merit: 2312


Crypto Swap Exchange


View Profile WWW
May 29, 2023, 04:14:49 PM
 #6

What do you think.

I find the idea really interesting and good, and if I've understood it correctly it would make it possible to avoid providing liquidity as we do with LN?

On the other hand, the fact that there's no public code at the moment, and the lack of responsiveness from the team over the past week, leaves me sceptical as to whether they'll manage to find enough devs to contribute to the project.

I read some caveats about double-spending on their FAQ. Huh

Yeah you're right :

Quote
Users need to wait for on-chain confirmations to consider a payment ‘final’.

Seems strange, possibility of double-spending could be huge, but isn't it exactly the same process with LN ?

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
cryptosize
Sr. Member
****
Offline Offline

Activity: 1680
Merit: 332


View Profile
May 29, 2023, 05:24:23 PM
 #7

I read some caveats about double-spending on their FAQ. Huh

Yeah you're right :

Quote
Users need to wait for on-chain confirmations to consider a payment ‘final’.

Seems strange, possibility of double-spending could be huge, but isn't it exactly the same process with LN ?
LN is prone to double-spending?

How so?
cryptosize
Sr. Member
****
Offline Offline

Activity: 1680
Merit: 332


View Profile
May 29, 2023, 05:27:10 PM
 #8

Oops, yet another red flag:

https://twitter.com/brqgoo/status/1661396918864424960

 Roll Eyes
Kryptowerk
Legendary
*
Offline Offline

Activity: 2058
Merit: 1402


Disobey.


View Profile
May 30, 2023, 11:27:14 AM
 #9

As I understand this is currently in the very early concept stages or are there already first implementations running on testnet?

From the website: "Although Ark is a completely new design, it is interoperable with the Lightning Network, which complements it."
Why would it complement lightning and not - after a period of adoption of course - slowly make it obsolete?

Can anyone describe the up- and downsides in layman's terms?

Get educated about Bitcoin. Check out Andreas Antonopoulos on Youtube. An old but gold talk: https://www.youtube.com/watch?v=rc744Z9IjhY

UPDATE 2024: Daniel Schmachtenberger on The Meta-Crisis: https://www.youtube.com/watch?v=LSx8j8lSewA One of the most important talks about the current state of this planet and human society in general. Go check it out.
NotATether
Legendary
*
Offline Offline

Activity: 1638
Merit: 6909


bitcoincleanup.com / bitmixlist.org


View Profile WWW
May 30, 2023, 12:57:20 PM
 #10


How is criticism of the LN and previously supporting big blocks a "red flag", as you put it?

I do share his criticism for LN inbound capacity, though, which I've previously ranted about here.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Kryptowerk
Legendary
*
Offline Offline

Activity: 2058
Merit: 1402


Disobey.


View Profile
May 31, 2023, 10:38:12 PM
Merited by hugeblack (1)
 #11

As I understand this is currently in the very early concept stages or are there already first implementations running on testnet?

From the website: "Although Ark is a completely new design, it is interoperable with the Lightning Network, which complements it."
Why would it complement lightning and not - after a period of adoption of course - slowly make it obsolete?

Can anyone describe the up- and downsides in layman's terms?
I noticed there is another (few days older) thread on the same topic.
There is also a post answering my first question: https://bitcointalk.org/index.php?topic=5453928.msg62333142#msg62333142

I'd suggest to close this topic and continue discussion in the other one.

Get educated about Bitcoin. Check out Andreas Antonopoulos on Youtube. An old but gold talk: https://www.youtube.com/watch?v=rc744Z9IjhY

UPDATE 2024: Daniel Schmachtenberger on The Meta-Crisis: https://www.youtube.com/watch?v=LSx8j8lSewA One of the most important talks about the current state of this planet and human society in general. Go check it out.
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 7606


Protocols over bureaucrats


View Profile
June 11, 2024, 01:53:15 PM
Merited by d5000 (4), DooMAD (2), ABCbits (2)
 #12

One year after, let's see what has changed.


If and when implemented via a softfork, covenants will enable non-interactive use of Ark, meaning users do not need to be online constantly to send and receive satoshis. However, Ark can also be implemented without covenants (cl-Ark), although it will require interactivity as an disadvantage, so we better support the upcoming softfork.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Kruw
Full Member
***
Offline Offline

Activity: 434
Merit: 108


Make your Bitcoins anonymous - wasabiwallet.io


View Profile WWW
June 12, 2024, 06:21:31 AM
 #13

so we better support the upcoming softfork.

Which upcoming soft fork, exactly?

Coordinating coinjoins for Wasabi Wallet and BTCPay Server - Connect using
Code:
https://btcpay.kruw.io/plugins/wabisabi-coordinator/
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 7606


Protocols over bureaucrats


View Profile
June 12, 2024, 06:45:29 AM
 #14

Which upcoming soft fork, exactly?
Covenants (when proposed).

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Kruw
Full Member
***
Offline Offline

Activity: 434
Merit: 108


Make your Bitcoins anonymous - wasabiwallet.io


View Profile WWW
June 12, 2024, 07:11:05 AM
 #15

Covenants (when proposed).

There are a lot of covenant proposals, which one is the safest & most efficient?

Coordinating coinjoins for Wasabi Wallet and BTCPay Server - Connect using
Code:
https://btcpay.kruw.io/plugins/wabisabi-coordinator/
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 7606


Protocols over bureaucrats


View Profile
June 12, 2024, 07:45:58 AM
 #16

There are a lot of covenant proposals, which one is the safest & most efficient?
I think BIP-119 is the most popular covenant-proposal, but I'm not sure about its efficiency comparably to the rest.

I don't know which one is the safest and most efficient, but I've noticed people to propose enabling OP_CAT lately, which can incidentally allow covenants to be implemented: https://bitcoinops.org/en/newsletters/2022/05/18/#when-would-enabling-op-cat-allow-recursive-covenants. In Liquid, they've enabled OP_CHECKSIGFROMSTACK, which is said to be more efficient than OP_CTV: https://blog.blockstream.com/tapscript-new-opcodes-reduced-limits-and-covenants/.

Your insights would be appreciated.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
NotATether
Legendary
*
Offline Offline

Activity: 1638
Merit: 6909


bitcoincleanup.com / bitmixlist.org


View Profile WWW
June 13, 2024, 05:51:43 AM
 #17

Ark v2 enables Ark Service Providers (ASPs) to reclaim their liquidity without having to wait for the expiration period (4 weeks) to elapse. It almost sounds too good to be true, ha?

Is this basically the only difference between v2 and v1?

So you can now basically stop an Ark node at any time you want.

But you know what would be really awesome? If there was a way to interact with the Ark network without having to run any sort of node. Just like how some wallets let you use LN via trampolines and submarine swaps.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Kruw
Full Member
***
Offline Offline

Activity: 434
Merit: 108


Make your Bitcoins anonymous - wasabiwallet.io


View Profile WWW
June 14, 2024, 06:51:52 PM
 #18

I think BIP-119 is the most popular covenant-proposal, but I'm not sure about its efficiency comparably to the rest.

I don't know which one is the safest and most efficient, but I've noticed people to propose enabling OP_CAT lately, which can incidentally allow covenants to be implemented: https://bitcoinops.org/en/newsletters/2022/05/18/#when-would-enabling-op-cat-allow-recursive-covenants. In Liquid, they've enabled OP_CHECKSIGFROMSTACK, which is said to be more efficient than OP_CTV: https://blog.blockstream.com/tapscript-new-opcodes-reduced-limits-and-covenants/.

Your insights would be appreciated.

I've been a supporter of CTV because I feel like I grasp the concept as a whole, but the emergence of competing proposals has made me hesitate. OP_CAT is mostly admired for its other capabilities since doing CAT covenants is a block space disaster. I have little knowledge of OP_CHECKSIGFROMSTACK.

Coordinating coinjoins for Wasabi Wallet and BTCPay Server - Connect using
Code:
https://btcpay.kruw.io/plugins/wabisabi-coordinator/
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 7606


Protocols over bureaucrats


View Profile
June 19, 2024, 09:01:00 AM
Last edit: June 20, 2024, 03:25:02 PM by BlackHatCoiner
Merited by LoyceV (4)
 #19

A tweet from 2023 explains how Ark can work non less interactively without softfork: https://x.com/SomsenRuben/status/1681442410348576772.

In this write-up, he explains Ark in simpler terms: https://gist.github.com/RubenSomsen/a394beb1dea9e47e981216768e007454?permalink_comment_id=4633382#file-_simplest_ark-md. Once you read this, you can scroll down and read the second post, "Reducing Ark Interactivity Without Soft Fork".


As far as I understand, it goes like this:

  • Alice wants to send money to Bob, but Bob is offline.
  • Alice requests from the Server to sign a new REDEEM_TX_AB with script: B+S or A+S or A in 1 month, which is the same as her previous REDEEM_TX_A but with different timelock and the addition of B+S.
  • Alice forfeits REDEEM_TX_A (which means the Server can claim her funds if she ever publishes REDEEM_TX_A)
  • Alice can perform the swap for Bob (since he is offline), and she can get the proof of payment from the Server.
  • The Server is incentivized to be cooperative (i.e., notify both parties that the payment completes) along the way.

Please correct me if I've misunderstood. I'm still trying to grasp the concept.

But you know what would be really awesome? If there was a way to interact with the Ark network without having to run any sort of node. Just like how some wallets let you use LN via trampolines and submarine swaps.
This will be doable. Ark is just like lightning, with more burden placed on the ASPs, rather than the users. It's just a better tradeoff, IMO. Lightning will still be used for money transfer between the ASPs.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!