Latest smart contract News

defi-on-bitcoin-part-2-nft-and-marketplace-min
Tech 13 February 2022

DeFi on Bitcoin Part 2: NFT and marketplace

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.

Smart Contract with Coding and Tech Background
Tech 26 January 2022

Smart contract-based oracle slashing

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.

Codeseparator
Tech 15 January 2022

OP_CODESEPARATOR

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.

Trustless outsourced vanity address generation
Tech 8 January 2022

Trustless outsourced vanity address generation

To overcome the drawback of the previous Zero-knowledge key-statement proof, sCrypt conducted the exchange entirely on chain using a smart contract which only pays out if a private key is provided.

Elliptic Curve Digital Signature Algorithm
Tech 2 January 2022

ECDSA signature verification in Script

sCrypt has implemented ECDSA signature verification algorithm in Script to verify if an arbitrary message is signed by a private key corresponding to a given public key.

Schnorr signature
Tech 1 January 2022

Schnorr signatures on Bitcoin

In this article, sCrypt shows how to implement Schnorr Signatures using the original Bitcoin Protocol. Schnorr is an alternative algorithm to the ECDSA algorithm currently used for signatures in Bitcoin.

Hand drawn tic tac toe
Tech 27 December 2021

Introducing Learn sCrypt

Learn sCrypt is a series of lessons that split the development of an on-chain game Tic-tac-toe on the Bitcoin network into interactive chapters.

[id^="_form"]
[id^="_form"]
[id$="_submit"]
[id$="_submit"]
[^;]
[^;]
[?&]
[?&]
[^&#]
[^&#]
[(d+)]
[(d+)]
[elem.name]
[elem.name]
[+_a-z0-9-'&=]
[+_a-z0-9-'&=]
[+_a-z0-9-']
[+_a-z0-9-']
[a-z0-9-]
[a-z0-9-]
[a-z]
[a-z]
[el.name]
[el.name]
[id^="_form"]
[id^="_form"]
[id$="_submit"]
[id$="_submit"]
[^;]
[^;]
[?&]
[?&]
[^&#]
[^&#]
[(d+)]
[(d+)]
[elem.name]
[elem.name]
[+_a-z0-9-'&=]
[+_a-z0-9-'&=]
[+_a-z0-9-']
[+_a-z0-9-']
[a-z0-9-]
[a-z0-9-]
[a-z]
[a-z]
[el.name]
[el.name]