|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cryptocurrency News Articles
sCrypt Wins 2024 Bitcoin Olympics Hackathon (Litecoin Track) by Enabling Cross-Chain Payments
Sep 11, 2024 at 03:00 pm
Blockchain scripting and contract firm sCrypt has won the 2024 Bitcoin Olympics Hackathon (Litecoin Track) by showing how it's possible to make a payment on one blockchain and receive an asset on another.
Blockchain scripting and contract firm sCrypt has shown how it’s possible to make a payment on one blockchain and receive an asset on another, in a project that won the 2024 Bitcoin Olympics Hackathon (Litecoin Track).
The two-man team of software engineers Mihael Šinkec and Yusuf Idi Maina used SPV and the opcode OP_CAT on the BTC Signet to demonstrate a transaction where a buyer used Litecoin to purchase BTC Ordinal tokens.
The demonstration expands the potential for DeFi applications, exchanging one type of digital asset for another directly between transacting parties, without needing coordination between the two parties and without needing to trust third-party intermediaries like exchanges.
Šinkec said constructing such a transaction using raw BTC ASM (assembly code used to create custom scripts) would be complicated, so the pair used sCrypt’s SDK, which lets developers work in more familiar TypeScript to focus instead on the contract logic.
They verified transaction preimages on the stack and verified them with “a straightforward function call” in a BTC covenant.
This process also uses Simplified Payment Verification (SPV) on Litecoin, reconstructing a transaction’s Merkle Root by using its data and Merkle Path and then comparing it to the transaction’s Block Header. Using SPV, the client checks the Block Header’s validity without requiring a full download of the blockchain.
Šinkec explained the process in more detail on Medium, writing that it was a challenge to verify a Litecoin transaction proof using BTC script since the two blockchains use different PoW algorithms.
The team used an oracle that could attest to the validity of Litecoin transactions and Lamport signatures that could be verified in BTC script.
The Litecoin SPV proof was then used to unlock a BTC Ordinal token placed in a BTC covenant and transfer the asset to the receiver’s BTC address. A “covenant” allows a programmer to impose constraints on how specific coins may be spent in future transactions.
Šinkec explained the covenant transaction in more detail:
“Enabling OP_CAT on BTC opens up many possibilities such as covenants and validation of Merkle Proofs. We leveraged both these mechanisms to implement an Ordinal sales listing as a covenant on BTC. It accepts Litecoin as a payment option without going through an intermediary, such as an exchange.”
OP_CAT is an opcode that existed in the original 2009 Bitcoin protocol, allowing programmers to concatenate two items on the stack. This enables the potential for more sophisticated transaction scripts and thus expands Bitcoin’s range of applications and potential use cases.
However, in a move similar to the one that imposed BTC’s ‘temporary’ 1MB block size limit, OP_CAT and other original opcodes were disabled very early in Bitcoin’s existence due to fears bad-faith actors could use them to “spam” or overwhelm the network before it had the resources to combat such actions.
The BSV blockchain re-enabled OP_CAT along with other original opcodes in 2019/2020, one of many moves that expanded BSV’s functionality and restored Satoshi Nakamoto’s original vision for Bitcoin.
There are also moves to re-enable OP_CAT on the BTC main network, but at the time of writing that hasn’t happened yet. For now, sCrypt’s cross-chain transaction works only on the BTC Signet, a more closed-off alternate testnet for blockchain apps, and experiments with new transaction types. OP_CAT has been re-enabled on the BTC Signet.
Since sCrypt’s prize-winning project connects the Litecoin and BTC Signet blockchains, it’s more theoretical than immediately usable as things currently exist. However, OP_CAT works on BSV and has done so for five years now, meaning developers could use the process to enable cross-chain payments. BSV has shown time and time again that more creative uses for blockchain technology are available for creative developers looking for new opportunities.
Disclaimer:info@kdj.com
The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!
If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.
-
- Top Coins Whales Are Accumulating for October Gains: Ripple (XRP), Tron (TRX), IntelMarkets (INTL)
- Sep 25, 2024 at 10:20 pm
- Whales are accumulating Ripple (XRP), Tron (TRX), and IntelMarkets (INTL) for potentially huge gains in October.
-
- Kraken Becomes Official Crypto Partner of RB Leipzig
- Sep 25, 2024 at 10:20 pm
- The partnership is focused on fusing the crypto ecosystem with sports entertainment to provide an interactive experience for fans.
-
- ETFSwap (ETFS), Fantom (FTM), TRON (TRX), and DOGS (DOGS) Set to Trigger an Up to 800% Increase in the October 2024 Bull Run
- Sep 25, 2024 at 10:20 pm
- October marks the beginning of the last quarter of 2024, which experts say may be the start of the highly anticipated 2024 bull run.
-
- Shiba Inu (SHIB) Price Prediction: Will the Meme Coin Mania Continue?
- Sep 25, 2024 at 10:20 pm
- As the price of Bitcoin reclaimed the $64,000 level, the meme coin market has taken a rise. Notably, some mid-cap and low-cap memecoins have recorded a surge of up to three digits. This highlights a rising interest of investors in it.
-
- RUNE Price Analysis: THORChain (RUNE) Shows Remarkable Growth and Resilience in the Crypto Market
- Sep 25, 2024 at 10:20 pm
- THORChain (RUNE) price’s recent performance showcased remarkable growth and resilience in the crypto market. The token has a solid security score and has experienced a significant rise in its trading volume.
-
- Whale Sells INJ Tokens, Buys LDO Tokens via Cumberland in the past 30 hours
- Sep 25, 2024 at 10:20 pm
- A whale has sold a significant amount of Injective (INJ) and bought more Lido DAO (LDO) tokens. On Wednesday, Sept. 25, Lookonchain shared on-chain
-
- Best Long-Term Crypto Investment For 2024: Bitcoin, Ethereum, And Polkadot Lead The Race
- Sep 25, 2024 at 10:20 pm
- In order to make a smart investment in cryptocurrency, one must consider it on both a short and long term basis. If someone is thinking about making money fast
-
- Huddle01 Plans to Raise Up to $37 Million in Network Node Sale to Power Its Decentralized Video Conferencing Platform
- Sep 25, 2024 at 10:20 pm
- Huddle01, a blockchain project to provide decentralized audio and video conferencing – aiming to provide lower latency virtual meetings than Zoom and Google Meet – plans to raise as much as $37 million in a sale of network nodes.
-
- Internet Computer (ICP) and Hedera (HBAR) Lead the Pack in Development Activity – Who Else is on the List?
- Sep 25, 2024 at 10:20 pm
- Onchain analytics firm Santiment made a post about projects that have had the highest developmental activities in the last 30 days. The post shows that Internet Computer (ICP) and Hedera (HBAR) are currently part of the projects leading the pack.