Search content
Sort by

Showing 20 of 23 results by RobinLinus
Post
Topic
Board Development & Technical Discussion
Re: ZK-proof on Bitcoin
by
RobinLinus
on 30/03/2023, 19:13:52 UTC
What does it mean for the verifier implementation to be "correct"?

I meant that there could be implementation bugs as in any cryptographic software. And it will take a lot of work to harden it.


I trade off the ability to verify a completely valid blockchain for the assumption that your organization built a proper prover and verifier.

We have not really build a new verifier, but only apply existing open source tools. We use the Giza verifier, which is mostly the Winterfell STARK library. What we have added is a translation of that verifier to Cairo.


The best of it all is that you don't have to use it. It is fully optional. It can get rolled out for low value use cases first and grow over time into a hardened library that makes sense for high-value use cases.

Post
Topic
Board Development & Technical Discussion
Re: ZK-proof on Bitcoin
by
RobinLinus
on 30/03/2023, 16:54:17 UTC
That is also a misunderstanding. It all depends on the verifier. If the verifier implementation is correct then the prover cannot fool the verifier even the slightest bit. That is the magic of proof systems. The invention is that there is no trust is required.

Of course, you can doubt our implementation. And we openly state ourselves that this is all still prototype-grade cryptography. It's a long way to go to get it production-ready, but the underlying math is sound and well-established. STARKs don't even require any novel cryptographic assumptions like many other ZKP systems. They rely only on collision-resistant hash functions.
Post
Topic
Board Development & Technical Discussion
Re: ZK-proof on Bitcoin
by
RobinLinus
on 30/03/2023, 15:46:18 UTC
requires that I trust a consortium of keys that have approved ZKPs of chain state.

That is a fundamental misunderstanding. STARKs are transparent which means there is no trusted setup. What you mean is SNARKs and not wanting to trust a 'consortium' is exactly why STARKs were invented.
Post
Topic
Board Development & Technical Discussion
Re: ZK-proof on Bitcoin
by
RobinLinus
on 30/03/2023, 14:50:50 UTC
Just to have an high level idea in a quick/lazy way ;-) , any diagram/note/schema about who plays the role of public STATEMENT & private WITNESS (in the SNARK meaning of those keywords) in each of the 3 stages of your chainproof (header/assumedvalid/full)?

The statement are the bitcoin consensus rules, basically expressing "I know a chain of blocks that is valid and results in the chain state X". The (private) witness is the chain of blocks.
The chain state contains data like the block height, the total work, etc, but also a UTXO set commitment.
Post
Topic
Board Development & Technical Discussion
Merits 12 from 3 users
Re: ZK-proof on Bitcoin
by
RobinLinus
on 30/03/2023, 13:25:20 UTC
⭐ Merited by OmegaStarScream (4) ,BlackHatCoiner (4) ,o_e_l_e_o (4)
Hi, I am the project lead of ZeroSync. Happy to see our work discussed here. Would like to clarify a few things: 

- We are using STARKs, which is a form of zero-knowledge proof that requires no trusted setup. It is a *transparent* ZKP.
- "Zero-knowledge" is indeed misleading in a way. This technology was invented for privacy reasons but it turned out to be also very useful to compress a computation. We use it because it is a *succinct* ZKP.
- Using ZeroSync requires no global consensus. Every user can decide individually if they want to sync using a proof or the conventional way. You can even zerosync Bitcoin Core without any code modifications: Use an external tool to verify a UTXO set and then copy it into your chainstate folder.
- ZeroSync is not a company but a Swiss nonprofit creating FOSS software.

On our project website https://zerosync.org you can find more details.


Happy to answer any questions you have.


Post
Topic
Board Project Development
Topic OP
ZeroSync: STARK proofs for Bitcoin
by
RobinLinus
on 29/03/2023, 19:08:20 UTC
ZeroSync is spearheading the development of proof systems for Bitcoin. Applying groundbreaking cryptography, we are pioneering the future of Bitcoin privacy, interoperability, and scalability.

https://zerosync.org
Post
Topic
Board Project Development
Re: The Bitcoin DEX
by
RobinLinus
on 16/02/2022, 08:53:30 UTC
if we can use random email, what does the email feature do? isn't it better to use a random ID with a password?
The only point of using your email is that basically everyone has one and it is easy for them to remember. Of course, you can use a random ID, but that's hard to remember.


Post
Topic
Board Development & Technical Discussion
Re: Is there any useful place where OP_CODESEPARATOR is used?
by
RobinLinus
on 12/02/2022, 11:03:31 UTC
I never could figure out where would OP_CODESEPARATOR be useful and some very old comments from early days suggest it may be a byproduct of a bad decision (eg. scripts were concatenated then executed at first).
While going through Taproot this OP code makes even less sense in Tapscripts and yet it is there. So I was wondering if I'm missing something and whether there is any good script examples I could look at where OP_CODESEPARATOR solves a problem that can't be solved in any other way.

Here is an example how you could use it in an interesting way: https://github.com/coins/bitcoin-scripts/blob/master/op-codeseparator.md
Post
Topic
Board Project Development
Re: The Bitcoin DEX
by
RobinLinus
on 31/01/2022, 22:11:59 UTC
Instead of using ethereum peg maybe you should consider using some Bitcoin Sidechains that are also using stable coins.
We're developing the contract in Solidity. That makes it compatible with Ethereum, BSC, but also RSK.


So you are saying there is no middle man when using your Bitcoin dex for atomic swaps?
You are right. No third party is required to execute a swap. The client is only doing the client-side validation of the token protocol for you and compiles your token transactions. In theory, you could do that in e.g. Electrum, too. If you're curious about the details, here's a writeup on swaps.
Post
Topic
Board Project Development
Re: The Bitcoin DEX
by
RobinLinus
on 27/01/2022, 21:35:13 UTC
I don't like that you are using some new stablecoin connected with USDT token on ethereum blockchain, and I don't understand how this exactly work.
Here's a detailed writeup of the trustless 2-way peg.



Can you please explain to me how this exchange can be called decentralized when it's available on only as web version and it's operated by centralized server?
You can download and run the client just by clicking on the html file. The server is not required to swap tokens. In theory, I could paste an order here into this thread and then anyone could take it. The purpose of the servers is only to bundle liquidity.

Post
Topic
Board Project Development
Re: The Bitcoin DEX
by
RobinLinus
on 27/01/2022, 21:27:21 UTC
Thanks a lot for your feedback because it was motivating.

Let me know if you're ready for someone to try do it for real (not with testnet).
There is already a "reckless" mainnet version and there is already a $5 offer which you can buy. It's even discounted as it wasn't changed since bitcoin was at $42000. You are very welcome to execute the first real world order on our DEX! :-)

Me = a very average user, but very happy to try stuff like this with a holding hand. I am increasingly getting requests for a fair amount of stablecoin payments I prefer to swap to Bitcoin without going through an exchange though (the problem is they're all on BSC).

This inspired me to work out the details of the 2-way peg protocol.
Next step is to implement it in Solididity. Then you can trade every asset on every EVM-like platform trustlessly against bitcoin. So, all assets on Binance Smart Chain would become tradable against BTC on Bitcoin.




Post
Topic
Board Project Development
Merits 1 from 1 user
Re: The Bitcoin DEX
by
RobinLinus
on 23/01/2022, 23:22:07 UTC
⭐ Merited by dkbit98 (1)
Here is a more technical summary of this project. Should have started the thread with this instead of dumping the prototype on you without any background info  Grin
Post
Topic
Board Project Development
Merits 1 from 1 user
Re: The Bitcoin DEX
by
RobinLinus
on 22/01/2022, 15:55:17 UTC
⭐ Merited by BlackHatCoiner (1)
Just leave a password text field which makes it look like a brain wallet.
Using your email as salt is important for security...


Also, how can I verify these aren't sent to a server?
You can monitor all requests in the network tab of the developer tools in your browser.


Is the wallet open-source?
Yes, you can find the source code on Github. You can run it locally simply by downloading the client and clicking on the index.html.
Post
Topic
Board Project Development
Re: The Bitcoin DEX
by
RobinLinus
on 22/01/2022, 15:08:25 UTC
@BlackHatCoiner and @bitmover,  I updated the signup page to be more clear.

Do you think this is better, or do you consider warpwallet with email+pw a bad idea in general?

I personally like the idea because users are very familiar with such logins.
Post
Topic
Board Project Development
Re: The Bitcoin DEX
by
RobinLinus
on 21/01/2022, 22:44:10 UTC
It asks me for my email address.

You're right, it looks like we are communicating badly here. Your email is used only as salt for generating a WarpWallet. It is basically just a random string that is unique per user which guarantees attackers using bruteforce have to target each user separately. We use the email address because it is easy to remember and makes the login feel familiar.

Post
Topic
Board Project Development
Merits 10 from 6 users
Topic OP
The Bitcoin DEX
by
RobinLinus
on 21/01/2022, 17:56:41 UTC
⭐ Merited by OmegaStarScream (4) ,Welsh (2) ,bitmover (1) ,dkbit98 (1) ,buwaytress (1) ,TheBeardedBaby (1)
Today we are releasing an alpha version of Bitcoin DEX - a decentralised bitcoin exchange based on non-interactive atomic swaps. It allows you to swap bitcoins for stablecoins with a single bitcoin transaction, and without having to know your counterparty upfront. You can find the FAQ here. Here are some screenshots.
Your feedback is very welcome!

PS: you can use this faucet to receive some testnet Bitcoins to buy testnet Dollars on the DEX.

Post
Topic
Board Skandinavisk
test
by
RobinLinus
on 01/01/2022, 12:42:18 UTC
Post
Topic
Board Off-topic
Blockchain Symphony - Bitcoin Rhapsody
by
RobinLinus
on 10/10/2021, 20:55:36 UTC
Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Topic OP
Implementing OP_MUL with OP_ADD
by
RobinLinus
on 06/02/2020, 10:58:56 UTC
⭐ Merited by ETFbitcoin (1)
For fun I implemented OP_MUL using OP_ADD. You can find the code here on Github.

Feedback very appreciated!

And I have a question: do you guys know any good source for advanced bitcoin scripts? Is there something like a library for scripts?
Post
Topic
Board Development & Technical Discussion
Topic OP
Bitcoin Nano Network: Stateless Full Nodes
by
RobinLinus
on 01/02/2020, 19:44:08 UTC
I have been working on a protocol for stateless nodes. It is a simplified version of Utreexo. It does not require dedicated bridge nodes - only regular nodes serving regular blocks. Furthermore, nano nodes can serve each other. The protocol works on top of today's bitcoin. No consensus changes are required. All data structures emerge from the existing blockchain structure.

If there is at least one honest node available, the protocol provides full node security by downloading just about 150 MB.

Here is a straw-man proposal demonstrating the basic idea.

The detailed description can be found here.

Feedback is very welcome. Thanks for taking your time!