1DEFTFNHpd8PGWdGb7fHzVodGqRSX5Hgm3 (457) ·
If your monolithic scripts are being rejected by miners, rather than point fingers, ask yourself how you can make them more economical to compute. Not everything needs stuffing into a single opreturn. OP_PUSHDATA2 gives you 65KB scripts.
Concatenate!
Replies
1DEFTFNHpd8PGWdGb7fHzVodGqRSX5Hgm3 (457) ·
All problems manipulating payloads in Bitcoin can be solved with Bitcoin. We have native OP_CAT in Bitcoin and we can push any size data via OP_TOALTSTACK. We also have D:/ & Bcat:/ protocols.
More info:
https://link.medium.com/K0Orw4oh3jb
1PfPHq5h9VKcdXQKz8RoddKzS9CCnepARw (6344) ·
@145
14MEbvQe6Exu8UXzM5PxqLoZoDic7v3W2j (7639) ·
Excellent article & thank you for sharing !$ again! I am wanting to go deeper into understanding of the abilities and what the tech has to offer. Do you have a recommend or starting point with tackling Forth? That and hex seems to be the real substance
1DEFTFNHpd8PGWdGb7fHzVodGqRSX5Hgm3 (457) ·
Leo Brodie's 1981 book is still considered a very good resource for learning the basics of Forth. Here's a downloadable link for you.
https://1scyem2bunjw1ghzsf1cjwwn-wpengine.netdna-ssl.com/wp-content/uploads/2018/01/Starting-FORTH.pdf
1DEFTFNHpd8PGWdGb7fHzVodGqRSX5Hgm3 (457) ·
SwiftFORTH is closer to Bitcoin script. Their IDE is free to evaluate, explore and learn. Some useful resources for you here:
https://www.forth.com/download/
14MEbvQe6Exu8UXzM5PxqLoZoDic7v3W2j (7639) ·
Perfect :)$(: Phenomenal ! I shall start tonight/morning in my read ~ cheers good sir
1NtT7iyL9anzdzHqFbW5L8HHtXurFtbGNc (13287) ·
There seems to be some misunderstanding between Chinese and International developers. I took a screenshot of your comment and Sunny Feng repiled: "the script is not about opreturn, sensible is layer1 not something in layer2" @3023
1DEFTFNHpd8PGWdGb7fHzVodGqRSX5Hgm3 (457) ·
I do understand Sunny's contract, hence my constructive criticisms. To miners, nested statements are considered monolithic bloatware. Emulating ERC-721 & ERC-20 tokens plus "State" contracts shows a fundamental misunderstanding of Bitcoin script.
1DEFTFNHpd8PGWdGb7fHzVodGqRSX5Hgm3 (457) ·
Furthermore, the Sensible contract relies upon "PUSH_TX" technology, so is dependant upon not one, but two 3rd party JS emulators as a VM. Sensible is not an L1 protocol as it it doesn't use pure Bitcoin script, unlike something like STAS tokens which do.
1DEFTFNHpd8PGWdGb7fHzVodGqRSX5Hgm3 (457) ·
Don't just take my word for it either., there is no such opcode as PUSH_TX. That is an sCrypt JS abstraction, thus not L1. It's in their own whitepaper.
https://sensible-1257802845.cos.ap-nanjing.myqcloud.com/sensible-contract-v0.2.0-en.pdf
1DEFTFNHpd8PGWdGb7fHzVodGqRSX5Hgm3 (457) ·
You will also note, Ying Chan of nChain invented the additional script as an emulation layer to push txs from one tx to another. It isn't a solution that scales. As an emulation script that is resource hungry, hence why miners are rejecting the scripts.
1NYGVX2E86hbXyyyxuh8tYzaKHTftPr5dE ·
Ngl, this just seems like pettiness.
The MetaID network has achieved what most other bsv projects only dream of: Adoption, network effect, usage, growth.
I'd be scared too if most of my funded projects were flopping and a competitor was eating my lunch.
14MEbvQe6Exu8UXzM5PxqLoZoDic7v3W2j (7639) ·
and it would seem this STAS is FORTH :)$(:
1DEFTFNHpd8PGWdGb7fHzVodGqRSX5Hgm3 (457) ·
It's not pettiness, I've been scaling enterprise systems for the last 30 years & have owned, designed & built some of the most powerful datacentres in the world. I'm a 12 year miner & former CompSci Professor. It's easily done, just not this way at scale.
1DEFTFNHpd8PGWdGb7fHzVodGqRSX5Hgm3 (457) ·
Sensible is L2 and relies on 3rd party Oracles & Data Fields, not Satoshis. They have 10x larger scripts than STAS, while L2 should have 10x less, like Run, Twetch, Fabriik & MoneyButton.
I can see unnecessary bloat in the implementation of the contract.
1DEFTFNHpd8PGWdGb7fHzVodGqRSX5Hgm3 (457) ·
Yes, it has a Forth-like subset for sure. 👍
1NtT7iyL9anzdzHqFbW5L8HHtXurFtbGNc (13287) ·
Do you think an identity sub-protocol, is important for BSV. One that MetalD is working on. Right now most BSV applications are independent of each other, as I understand. Each user data is not interoperable.
1DEFTFNHpd8PGWdGb7fHzVodGqRSX5Hgm3 (457) ·
Yes, I think having a unified identity protocol is essential and there are many competing implementations (including mine) that are not interoperable. I do keep ribbing the TSC for being myopic but this is one area where they can help expedite standards.
1NtT7iyL9anzdzHqFbW5L8HHtXurFtbGNc (13287) ·
Oh you are building one! Cool. Please share updates when you can.
If an application was already built, say Handcash, but then wanted to join the unified identity protocol, is it possible? Or you need to build from scratch on it
14MEbvQe6Exu8UXzM5PxqLoZoDic7v3W2j (7639) ·
Question, If we take and stuff the NFT with satoshi, could this qualify for STAS ? This would be on a L2 ( Run as my example )