Skip to content

Bitcoin to the core

Live on testnet Simplifies the whitepaper, Principle 1

Sequentia is a UTXO chain using Bitcoin addresses and Bitcoin Script, with assets built in and no virtual machine.

The whitepaper calls this principle “orange-pilled”. It is the decision everything else rests on: Sequentia does not invent a new way to represent ownership. It uses Bitcoin’s.

The same model as Bitcoin

On Bitcoin, coins are not balances in accounts. They are individual outputs, each locked by a script, each spent whole. Sequentia works the same way, with the same scripting language.

Three things follow.

Everything built for Bitcoin carries over. Swap contracts, Lightning, Ark, multisignature, batching, coin mixing: the techniques developed for Bitcoin work on Sequentia, and contracts can span the two chains because both speak the same language.

Better privacy than accounts. On an account-based chain, showing one address can expose your whole balance and history in every token. With outputs and a wallet that derives many addresses from one seed, it does not.

No race to the front of the block. Chains with unbounded smart contracts get saturated by automated trading when they are busy, with traders bidding to be confirmed first. Sequentia’s exchanges are peer to peer and largely off-chain, built on the same contracts as Lightning.

Bitcoin’s address, exactly

A Sequentia address is a Bitcoin address, byte for byte. One wallet shows one receiving address for both chains, and one seed recovers both. Amounts are public by default, as on Bitcoin, and confidentiality is opt-in behind a visibly different address.

This is covered from the user’s side in One wallet, every asset, including why Sequentia chose the opposite default to Liquid.

Programmable, without a virtual machine

“Turing complete” sounds like a feature. In a blockchain it means the cost of checking a transaction is only discovered by running it, which is why such chains need gas metering and still get surprised.

Sequentia has two languages instead, both inherited from Elements:

  • Bitcoin Script, extended with the ability to inspect the transaction it is part of;
  • Simplicity, a language in which the cost of every program is known before it runs.

Together they allow covenants: outputs whose spending conditions constrain what the spending transaction must itself pay. An offer that can only be taken by paying the maker the price it named. A loan that can only be closed on the terms fixed when it was opened. An asset that can only move to approved holders.

Sequentia’s exchange, lending and regulated-asset protocols are all built this way, without adding anything to consensus for each one.

Whitepaper 1.3Why Simplicity cannot surprise a validator

Simplicity is a typed, finitary combinator language. Every program carries a budget that the block’s weight must pay for, so a contract can be arbitrarily demanding and still cannot cost a validator more than was paid for.

On Sequentia a Simplicity program lives in a taproot leaf, and the node runs it with the full upstream set of built-in functions. Developer documentation: Contracts: Simplicity and simplicity.md.

Assets are part of the chain

On Ethereum, a token is a program that keeps a table of balances. On Sequentia, an asset is a kind of output. A dollar output and a bitcoin-style output differ only in a label, and the chain handles both with the same rules.

Every asset is identified by a 256-bit number, its asset id. The chain stores that number and nothing else: no names, no tickers, no record of who issued what.

So where do names come from?

From the issuer’s own website, checked in two steps.

  1. At issuance, the issuer writes a declaration: name, ticker, decimals, internet domain, public key. The asset id is computed from the issuance transaction and the hash of that declaration together.
  2. The issuer publishes, on the domain it claimed, a file naming that id.

A registry, the public directory wallets consult, recomputes the id from the chain, checks that the declaration produces it, fetches the file, and only then marks the entry verified. A wallet writes “USDT” beside a balance because a registry it trusts vouches for it. With no registry it shows the raw number.

Whitepaper 1.4Why a name can never be changed

Because the id is computed from the declaration, altering one character of the declaration gives a different id, which is a different asset. So a name can never be added or corrected later: an asset issued without a declaration stays nameless for life.

And because the name lives off-chain, a registry decides what a wallet displays, never what the chain accepts.

Registry: sequentia-registry. How to do it: Issue an asset.

Supervised assets

An issuer may declare an asset supervised at issuance, which gives it the power to freeze the coins at a named address, enforced by every node. The declaration is part of the asset id, so it is public from the first moment and can never be changed.

This is explained in For issuers, with the limits on what an issuer can do.

Read further