Private key puzzles
sCrypt introduces a new type of Bitcoin smart contract called private key puzzles, which can only be solved by providing the corresponding private key of a given public key.
sCrypt introduces a new type of Bitcoin smart contract called private key puzzles, which can only be solved by providing the corresponding private key of a given public key.
Compared to Kickstarter, sCrypt’s approach is automatically enforced by Bitcoin, does not entrust funds to a trusted third party, and enjoys low fees.
In this piece, sCrypt’s Xiaohui Liu investigates the claims made by BTC evangelist Jameson Lopp in his recent article, focusing on technical and objective arguments, instead of philosophical differences.
sCrypt’s Xiaohui Liu shows a novel technique to compute the hash with only part of the preimage for a wide range of hashing algorithms.
In this article, sCrypt presents an optimization technique to split a large contract into multiple smaller ones, demonstrating how it works in contracts with large loops and many public functions.
Smart Contracts on Bitcoin are more powerful and versatile than previously thought. However, it can't support new features once deployed, and supported features must be included in the token contract.
sCrypt proposes a novel approach called "Pay to Contract Hash (P2CH)" to address the two limitations of smart contracts on Bitcoin simultaneously.
In the third part of this series, sCrypt explains how to build a Uniswap-like exchange on Bitcoin, allowing users to pool tokens/bitcoins into smart contracts and provide liquidity to the exchange.
In the second part of this series on why it's more advantageous to run DeFi on Bitcoin, Xiaohui Liu illustrated how to build non-fungible tokens (NFT) and sell them directly on Bitcoin.
In the first part of this series on why it's more advantageous to run DeFi on Bitcoin, sCrypt demonstrates how to implement fungible tokens and swap them atomically.
sCrypt's Xiaohui Liu showed how to use smart contracts to slash cheating Sensible oracles, which is applicable to any oracle where evidence of fraud can be verified in a smart contract.
sCrypt demonstrates the usage of OP_CODESEPARATOR, such as optimizing preimage size in OP_PUSH_TX and other uses like in-script functions and signing different execution paths.