Posts Posts + Replies
bitfeed
joe
11 months ago
Really good feedback :)
joe
1 year ago
Very cool!
joe
1 year ago
This is a bit old but it's a good Bitcoin Script challenge for new Script-ers! How do I unlock this? First winner gets my $0.02
joe
1 year ago
Just got around to looking through it, very cool. there's no additional memory accesses to secure uref (miners are already fetching UTXOs when validating inputs). On paper, I think this is the most elegant solution to solve the backtracking problem :) I think more difficult issue is convincing SV devs or miners to be interested, even as a softfork. If they spent so much time removing P2SH why would they allow uref?
joe
1 year ago
Is anyone working on creating tokens without backtracking? It would open so many doors if done scalably.
joe
1 year ago
Haha, nice! Unfortunately, the alt-stack isn't shared between the ScriptSig and ScriptPubKey. So, your "input" can't use the alt stack :/
joe
1 year ago
Haha, awesome!
joe
1 year ago
@xhliu From my understanding of what you wrote I don't think this will scale.... If you are passing the previous transaction into the next transaction you're going to accumulate every single past token transaction since the issuance transaction in the ScriptSig. To illustrate, here's the following chain of token transactions: Tx1 -> Tx2 -> Tx3 -> Tx4 -> Tx5 -> Tx6 ...: Tx1 -> Issuance Tx2 = (ScriptSig(Tx2PreImage, Tx1), ScriptPubKeyTx2) Tx3 = (ScriptSig(Tx3PreImage, Tx2), ScriptPubKeyTx2)
[more]
joe
1 year ago
:) Thanks! That means a lot coming from you
joe
1 year ago
Script Debugging and Evaluation in VSCode
Today I'm announcing the introduction of the Quick Evaluator and Debugger to the VSCode Bitcoin Script Extension. This is created in response to some complaints I saw in the Bitcoin Script PowPing group.The Quick Evaluator will evaluate the script an
joe
1 year ago
:)
joe
1 year ago
To what end would people even want to buy compute power?
joe
1 year ago
This is awesome. I am so glad you decided to open source it.
joe
1 year ago
Hehe. Luckily, with a fixed size strings you can do some ASCII magic and make this an easy answer... However, I'm going to take a break from poaching these questions so others have an opportunity to answer them :) Keep em coming though!
joe
1 year ago
When are we going to get to use it? :)
joe
1 year ago
In addition to Rabin Signatures, you can always try to write the ECDSA signature verification function yourself. It is 100% possible to do it in Script.
joe
1 year ago
Yeah. Do it twice haha, OP_ROT OP_ROT
joe
1 year ago
It should be relative to the amount of value they provide. I don't know of any Script based business ventures atm so a Script engineer wouldn't make too much.
joe
1 year ago
It'd be cool if you wrote a TX that had these challenges, claimable for a BSV reward.
joe
1 year ago
You start off with [a b c d] Push in 2 empty stack frames OP_0 OP_0 [a b c d 0 0] Rotate bottom pair to top OP_2ROT [c d 0 0 a b] Move top frame to alt stack OP_TOALTSTACK [c d 0 0 a] [b] Nip away the empty frames, OP_NIP OP_NIP [c d a] [b] Put back last element from altstack, OP_FROMALTSTACK [c d a b] Ta-daa!! Entire script: OP_0 OP_0 OP_2ROT OP_TOALTSTACK OP_NIP OP_NIP OP_FROMALTSTACK
joe
1 year ago
Is it even secure to use k=1 for OP_PUSH_TX style signatures?
joe
1 year ago
Not using two opcodes, but here's a way without any comparison operators. assuming the stack looks like [a, b]. OP_SUB makes the stack [a-b] If a < b then a-b < 0, which would mean the last byte must be have the significant bit enabled. OP_SIZE OP_1SUB OP_SPLIT will let us extract the last byte. So the stack will look like [(a-b)[:-1], (a-b)[1:-1]] then use, 0x01 0x80 OP_AND to see if the bit is set, then you must use OP_7 OP_RSHIFT because the bitcoin stack machine will consider negative
[more]
joe
1 year ago
-1 is also 0x80 :) You can replicate OP_1NEGATE with: 0x01 0x80
joe
1 year ago
We're still under 100 people right? If so, count me in.
joe
1 year ago
Hello new members!
joe
1 year ago
You should introduce a variant of pepe cash to BSV!
joe
1 year ago
moneybutton!
joe
1 year ago
The Bitcoin Script VSCode extension now supports formatting and some other stuff. All feedback is welcomed! Thank you for your support so far :) https://marketplace.visualstudio.com/items?itemName=shade.bsl
joe
1 year ago
hahaha
joe
1 year ago
This is one of my favourite open source projects in the Bitcoin SV space
joe
1 year ago
I agree, looks like it's disabled
joe
1 year ago
Note: Noticed a small bug where OP_IFDUP and others were recognized as OP_IF with random characters appended to it. That has been fixed as of 0.0.6
joe
1 year ago
I wrote a VSCode extension for the Bitcoin Scripting Language: https://marketplace.visualstudio.com/items?itemName=shade.bsl&ssr=false#overview It only does syntax highlighting and will recognize .bsl files at the moment. I plan on adding snippets for patterns like OP_PUSHDATA and OP_IF/OP_ELSE. Feel free to provide feedback, questions and suggestions.
joe
1 year ago
Modern UI and maybe a better way to organize Pings.
joe
1 year ago
^This. It would have been interesting if we started off following everyone and just had to unfollow the people we find frustrating. Might prevent echo chambers.
joe
1 year ago
lmao, your username.
joe
1 year ago
.webm test
joe
1 year ago
That's super cool
joe
1 year ago
To future Joe browsing PowPing: If time travel is invented, please meet me at exactly 21:00 UTC, July 14th, 2020, (49.039120, -122.240945) on Earth.
joe
1 year ago
Not unless you tip!
joe
1 year ago
Welcome to powping!
joe
1 year ago
On PowPing, 1 satoshi = 1 upvote :D. You can reliably cash it out if you want. Why bother creating a token for upvotes?
joe
1 year ago
There isn't very easy to use token infrastructure on BSV, yet.
joe
1 year ago
Welcome :)
joe
1 year ago
I don't think anything new will happen. If you view the source (Ctrl+U on chrome) it's pretty readable already.
joe
1 year ago
The thing I like most about PowPing is that there are almost no barriers to entry, it's super inclusive. I can share this with my anti-BSV friends and they don't have to deal with turn-off of obtaining BSV. As long as they provide valuable content they can reap the same benefits as everyone else here.
joe
1 year ago
@Unwriter really needs to sanitize his inputs...
joe
1 year ago
<iframe src="https://twetch.app/"/>
joe
1 year ago
<input placeholder="Enter a value" />
joe
1 year ago
<span onclick="alert('hello world')">test</span>
joe
1 year ago
<span onclick="alert('hello world')">test</span>
joe
1 year ago
<span onload="alert('Hello World')">test 3</span>
joe
1 year ago
<span style="color: blue">test 2</span>
joe
1 year ago
<div> test </div>