Cool demo! But quick question: why not using js files for the code instead of putting it all in the html page?
@highlevelbitcoin6 күн бұрын
Two reasons: (1) it's annoying to test with multiple files because my browsers cache separate js files, and I have to remember to clear my cache before every test, otherwise my code changes don't take effect (2) shareware is easier to deploy as a single file rather than a folder
@bitmiami476614 күн бұрын
Sold! Take my money!
@highlevelbitcoin14 күн бұрын
I'll be glad to! Buy a ticket or a recording here: supertestnet.org/workshops.html
@CeeCrazzy14 күн бұрын
Funny!
@trevorsmith775315 күн бұрын
Always trust a guy in a T-shirt with sanpaku eyes.
@patrickkells5316 күн бұрын
Ooh my favorite part is all the chatter in the room🙄
@Daniel-xaogjeyh19 күн бұрын
If it fully Turing complete (because of the CPU), then how are you planning to solve the halting problem? Gas metering would be a BTC fork, no?
@highlevelbitcoin19 күн бұрын
it's not "fully turing complete" because there is a limit on how many cpu cycles this cpu can run for. It's a large limit, somewhere on the order of 2^128 cycles, which is far more cycles than any cpu has ever run. But it is technically a limit, so this cpu is not "fully turing complete" and is guaranteed to halt eventually. Just long after the death of the universe.
@highlevelbitcoin19 күн бұрын
Besides every program being guaranteed to halt eventually, another factor is this: the two parties agree on the program up front, and the challenge period limits how long the prover has to run it. So if the prover for some wild reason agrees to run a program that doesn't halt quickly, the verifier can initiate a challenge to prove the end state, and then the prover will simply lose his money when he can't get the program to terminate before the challenge period expires.
@Daniel-xaogjeyh19 күн бұрын
Brilliant!
@marvinmaali401927 күн бұрын
I will be following this channel closely for more content. Great stuff 👌 I had this idea to create a 24/7 BTC charity /daily orange-pilling service where some few sats are "streamed" to users freely every day Hoping to implement it using hedgehog sometimes this year. Side note: I was also hoping to build a system that tracks the value of BTC nodes using the value of Lost BTC. I think lost BTC gives BTC nodes intrinsic value and they can be traded based on the average value of lost BTC represented by each node.
@adrianlopez337329 күн бұрын
Nice work!
@CJCastellanosАй бұрын
Beautiful!
@edu3393Ай бұрын
Hope to not get arrested for liking this video
@disuyeАй бұрын
Excellent work - and the video explanation is much appreciated.
@karozagorusАй бұрын
Love the name.
@foxbox2879Ай бұрын
:)
@davidsparks1181Ай бұрын
Sweet. I love bitcoin developers ❤
@nathanpenАй бұрын
Thanks for this. We must have open source coon join solutions all over.
@napper422Ай бұрын
Thank you for this video. I’ve been looking for info on cashu.
@varlam_volkovАй бұрын
Thank you! 👍👍👍👍👍
@varlam_volkovАй бұрын
Super!!! Thank you!!! 👍👍👍👍👍
@ammokhaАй бұрын
Awesome, can't wait for this to be in the hands of the average user like myself. :D
@Incoghs102Ай бұрын
Based. Cant stop the signal.
@haha-hk9txАй бұрын
Will this CPU be used to DDOS the BTC network 😂😂😂. Nvm there probably is a timeout for the execution of bitcoin scripts on the mempool or something.
@abengkrisАй бұрын
Thanks man
@MrCoreyTexasАй бұрын
OK, so I guess the problem is, you need 3 transactions to open and close a Hedgehog channel, whereas in Lightning you only need 2. Just a question on what you want to tradeoff.
@MrCoreyTexasАй бұрын
Just started watching this video, it sounds like it could be a lightning killer at first glance. I think the fact that the recipient has to be online to receive the payments is a huge disadvantage for Lightning. I saw a recent article, we're seeing lightning nodes actually go offline, and they were trying to spin it as positive somehow (seems like a cope).
@MrCoreyTexasАй бұрын
isn't "colored coins" kind of racist?
@MrCoreyTexasАй бұрын
As far as I can tell, only 1 person deposited 0.25 BTC into the smart contract to begin with, ideally each one would deposit 0.125 BTC, but then they'd have to use partially signed bitcoin transactions, right? Another thing is teams usually aren't 50/50 to win, there's a favorite and an underdog, so Alice and Bob would have to agree on the odds as well
@highlevelbitcoinАй бұрын
If I was building this out in real life I would probably use partially signed bitcoin transactions to ensure both parties deposit funds, though another option would be to use an atomic swap so that Alice pays Bob to put the total into the contract in such a way that he only collects her payment if he does so. Also, yes, the two parties would need to agree on payout terms such that both are happy with whatever the terms are
@MrCoreyTexasАй бұрын
At about 46:00, I think you're being unfair to satoshi. Bitcoin core needs to know how long the script is in advance, so it's prefixed by a length of script. Otherwise, you'd have to have some kind of 'end of script' opcode, but let's say that it was 0xFF for argument's sake - but then 0xFF can also be part of a hash or preimage, so that would confuse Bitcoin Core. Perhaps there's a better Javascript bitcoin library out there?
@MrCoreyTexasАй бұрын
His presentation at 16:00 can be found at docs.google.com/presentation/d/1vwWUP6PyDgZ4xh72fUouf5iBEZGuFLIF9-O5z5GUshs/edit#slide=id.p
@MrCoreyTexasАй бұрын
show bobs and vagene
@MrCoreyTexasАй бұрын
I can only imagine how many combinations you'd have for games like checkers, chess, and go!
@jb94332 ай бұрын
Could you put the links in the description?
@highlevelbitcoin2 ай бұрын
done!
@ZQ1995fly2 ай бұрын
Cool stuff. Let's implement it now?
@highlevelbitcoin2 ай бұрын
Yes, let's
@EmilioAttardo2 ай бұрын
Great video thanks! Where can i find the other videos in this course?
@highlevelbitcoin2 ай бұрын
www.udemy.com/user/car-gonzalez/
@EmilioAttardo2 ай бұрын
Thank you!@@highlevelbitcoin
@antonionevesdasilva80322 ай бұрын
Seems impressive. 👏🏽👏🏽👏🏽
@freezyAndHaze2 ай бұрын
Very cool. Thanks for your work. How much sooner can I get Lambo due to this? :3
@Lunaticoin2 ай бұрын
Great idea! I suppose no payment routing would be complicated right?
@highlevelbitcoin2 ай бұрын
I think you could route payments the same way lightning routes them, with a chain of htlcs that ends at your destination. Only difference is, your recipient could be offline. You send him or her the data he or she needs to redeem his htlc, and he or she collects it the next time he or she gets online
@PhilKingstonByron2 ай бұрын
Great Work! Well Done.
@BITC0IN2 ай бұрын
cool @ Me in the whitepaper 😂
@varlam_volkov2 ай бұрын
👍👍👍👍👍👍👍💫💫💫💫
@holmybeer2 ай бұрын
The idea of connectors is pretty cool. I've heard people talking about conditions like: do X iff UTXO A exists. But we can't do this in script, and it would be a horrible idea do sf in. But a solution that doesn't involve arbitrary UTXO set introspection is awesome! I'll take a further look at the payment protocol, it seems really promising. Thanks for sharing
@highlevelbitcoin2 ай бұрын
but we *can* do it in script OP_CHECKSIG is a script opcode and any signature it checks must commit to at least one input. When you use OP_CHECKSIG on a signature that commits to input utxo A, your transaction will fire iff utxo A exists
@JK-dx7ex2 ай бұрын
Man you are building some awesome functions, ? Could this be used with a BlockStream Satellite base station for the online account, then to allow multiple offline accounts to do transaction? No need for internet. And can a seed signer be used for this ?
@highlevelbitcoin2 ай бұрын
A seed signer can be used for this I don't know much about the blockstream satellite but if you're just using it to get block data, that should work
@bitcoinheiro2 ай бұрын
Nice, maybe good for private channels on the edge, connected to LSPs... Reduces burden to end-user at the edge of the network
@globalmerchantio2 ай бұрын
Excellent thank you very much anything for potential B2B use is much appreciated.
@highlevelbitcoin2 ай бұрын
Happy to be of service
@atulyadav47222 ай бұрын
Great work bro
@jaonoctus212 ай бұрын
Bro chill
@highlevelbitcoin2 ай бұрын
can't stop won't stop
@MiguelMedeiros2 ай бұрын
@@highlevelbitcoin never give up, never surrender!
@ThesGt2 ай бұрын
Great stuff ! So this is not LN right? This is another new L2 that works similar to LN?
@highlevelbitcoin2 ай бұрын
exactly correct a hedgehog wallet could be fully backward compatible with lightning though, so in some sense hedgehog is like a lightning extension or plugin
@louferlou87522 ай бұрын
But are you casually just saying that you solved asynch payment for LN ? 🤣@@highlevelbitcoin
@ThesGt2 ай бұрын
@@highlevelbitcoin excellent, great accomplishment love it
@steemium2 ай бұрын
🙌🙌
@steemium3 ай бұрын
Incredible
@gleleylo3 ай бұрын
How many transactions for a whole game should be done on chain in a worst case?
@highlevelbitcoin3 ай бұрын
1 deposit transaction 9 while each player takes a turn marking the board 1 withdrawal transaction So there are 11 transactions in the most expensive case The middle 9 transactions are skipped if there is no dispute, leaving only 2 transactions, a deposit and a withdrawal
@gleleylo3 ай бұрын
@@highlevelbitcoinisn't "accept" transactions are also needed for each turn?